zsh: Only run direnv when installed
Alan Pearce alan@alanpearce.co.uk
Thu, 10 Apr 2014 20:07:42 +0100
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M zsh/environment.zsh → zsh/environment.zsh
@@ -47,4 +47,6 @@ esac export os -eval "$(direnv hook zsh)" +if [[ $commands[direnv] ]] + eval "$(direnv hook zsh)" +fi