Add loading of direnv

This commit is contained in:
2020-07-03 02:07:16 +02:00
parent 100882f912
commit 6e9dc46fab

View File

@@ -116,6 +116,7 @@ autoload edit-command-line; zle -N edit-command-line
autoload zmv
! alias run-help >/dev/null 2>&1 || unalias run-help
autoload run-help
! command -v direnv >/dev/null 2>&1 || eval "$(direnv hook zsh)"
# stderred
if [ -e "$ZSH_CONF/stderred/build/libstderred.so" ]; then
export LD_PRELOAD="$ZSH_CONF/stderred/build/libstderred.so${LD_PRELOAD:+:$LD_PRELOAD}"