[zsh] fix direnv hook
This commit is contained in:
parent
77e20b355e
commit
cd3b6267c9
2
.zshrc
2
.zshrc
|
@ -29,7 +29,7 @@ if command -v fzf >/dev/null; then
|
|||
bindkey '^I' $fzf_default_completion
|
||||
fi
|
||||
|
||||
(( ${+commands[direnv]} )) && emulate zsh -c "$(direnv export zsh)"
|
||||
(( ${+commands[direnv]} )) && emulate zsh -c "$(direnv hook zsh)"
|
||||
|
||||
function osc7-pwd() {
|
||||
emulate -L zsh # also sets localoptions for us
|
||||
|
|
Loading…
Reference in a new issue