1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 12:48:01 +00:00

[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

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