diff options
| author | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-06-07 09:53:44 +0200 |
|---|---|---|
| committer | Mehdi Sadeghi <mehdi@mehdix.org> | 2021-06-07 09:53:44 +0200 |
| commit | 566072896f894e8e49e84bf15781ed6727baf0c2 (patch) | |
| tree | a8120d379220319919d305e089ae80cafbc7b7fc /.config/blue032.profile | |
| parent | 1939e4ac00da652e2c86f67ab3140ba9bd8cf5b9 (diff) | |
Move direnv hook to bashrc.
Diffstat (limited to '.config/blue032.profile')
| -rw-r--r-- | .config/blue032.profile | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/.config/blue032.profile b/.config/blue032.profile index b759bfd..e69de29 100644 --- a/.config/blue032.profile +++ b/.config/blue032.profile @@ -1,11 +0,0 @@ - -_direnv_hook() { - local previous_exit_status=$?; - trap -- '' SIGINT; - eval "$("/usr/bin/direnv" export bash)"; - trap - SIGINT; - return $previous_exit_status; -}; -if ! [[ "${PROMPT_COMMAND:-}" =~ _direnv_hook ]]; then - PROMPT_COMMAND="_direnv_hook${PROMPT_COMMAND:+;$PROMPT_COMMAND}" -fi |
