Browse Source

Use `direnv' if it's installed

master
Peter J. Jones 3 months ago
parent
commit
022bc20cd5
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      dot/zshrc

+ 4
- 0
dot/zshrc View File

@@ -51,3 +51,7 @@ source @prefix@zsh/lib/directories.zsh
source @prefix@zsh/lib/history.zsh
source @prefix@zsh/lib/syntax.zsh
source @prefix@zsh/lib/prompt.zsh

if which direnv > /dev/null 2>&1; then
eval "$(direnv hook zsh)"
fi

Loading…
Cancel
Save