Add direnv support

This commit is contained in:
Loic Nageleisen 2021-07-06 15:01:05 +02:00
parent d52e1d1f82
commit 52e20aca38
Signed by: lloeki
GPG key ID: 971B4D9F125CD31E
5 changed files with 28 additions and 0 deletions

2
zsh/rc
View file

@ -13,6 +13,7 @@ source $DOTFILES_ZSH_DIR/completion
source $DOTFILES_ZSH_DIR/prompt
source $DOTFILES_ZSH_DIR/fzf
source $DOTFILES_SHELL_DIR/go
source $DOTFILES_SHELL_DIR/direnv
set -o ignoreeof
unsetopt BEEP
@ -24,6 +25,7 @@ GIT_PS1_SHOWUNTRACKEDFILES=1
precmd() {
LAST_CMD_RC=$?
_direnv_hook
psvar=()
set_prompt
set_term_title