From d5e219fb899f4b1ed5d35a9090085290d621d334 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sat, 7 Apr 2018 17:57:38 +0200 Subject: [PATCH] make direnv stay quiet --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index f29ac66..8e13e63 100644 --- a/.zshrc +++ b/.zshrc @@ -11,6 +11,7 @@ export PATH=$HOME/bin:$PATH:/bin:/sbin:/usr/sbin:/usr/local/sbin ZSH_THEME="robbyrussell" +export DIRENV_LOG_FORMAT= export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc export HISTFILE=~/.zsh_history @@ -25,7 +26,6 @@ export ZSH_HIGHLIGHT_STYLES[builtin]='fg=190' setopt append_history setopt share_history - source ~/.zplug/init.zsh zplug "miekg/lean" @@ -180,6 +180,7 @@ cd_func () { fi "cd" "${dir}" fasd -A $PWD + eval $(direnv export zsh) } alias cd=cd_func @@ -222,7 +223,6 @@ export FZF_COMPLETION_TRIGGER=";" command -v kubectl >/dev/null 2>&1 && source <(kubectl completion zsh) command -v kops >/dev/null 2>&1 && source <(kops completion zsh) command -v helm >/dev/null 2>&1 && source <(helm completion zsh) -command -v direnv >/dev/null 2>&1 && source <(direnv hook zsh) [ -f /usr/share/bash-completion/completions/aws ] && source /usr/share/bash-completion/completions/aws [ -f /opt/google-cloud-sdk/completion.zsh.inc ] && source /opt/google-cloud-sdk/completion.zsh.inc