[zshrc] Add direnv hook

This commit is contained in:
Daniel Carrillo 2022-09-08 17:27:03 +02:00
parent d43545b427
commit b136026491
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16
1 changed files with 4 additions and 0 deletions

4
.zshrc
View File

@ -119,6 +119,10 @@ if [ -z $SSH_AUTH_SOCK ] && [ -S "${XDG_RUNTIME_DIR}/ssh-agent.socket" ]; then
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
fi
## direnv
eval "$(direnv hook zsh)"
# Autocompletion
autoload -U compinit && compinit