Set up direnv

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-10-17 00:24:06 +02:00
parent 337971f963
commit a3285ce1be
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -57,6 +57,12 @@ source ${HOME}/.zsh/config-git.zsh
## Load peco functions ## Load peco functions
source ${HOME}/.zsh/peco.sh source ${HOME}/.zsh/peco.sh
## Load direnv
(which direnv >/dev/null 2>&1) && {
export DIRENV_LOG_FORMAT=""
eval "$(direnv hook zsh)"
}
## Clean PATH from duplicates ## Clean PATH from duplicates
export PATH=$(${HOME}/bin/path-dedup.py) export PATH=$(${HOME}/bin/path-dedup.py)