1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 23:08: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" export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
fi fi
## direnv
eval "$(direnv hook zsh)"
# Autocompletion # Autocompletion
autoload -U compinit && compinit autoload -U compinit && compinit