diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-01-23 17:32:14 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-01-23 17:32:14 +0200 |
commit | 9603004b6c51aa5148e147076a1321eb35642957 (patch) | |
tree | 2925924046bbc94a8e98746752947fe9c577571e /bashrc | |
parent | 1abd025425b4d6e705c3fe93d45d839c26b9caf4 (diff) | |
download | liw-dot-files-9603004b6c51aa5148e147076a1321eb35642957.tar.gz |
bashrc: use direnv if available
Sponsored-by: author
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -186,6 +186,10 @@ if [ -n "$PS1" ]; then bind -r '' fi +if command -v direnv > /dev/null; then + eval "$(direnv hook bash)" +fi + if command -v zoxide > /dev/null; then eval "$(zoxide init bash)" fi |