From 995046267ff9e20576c89c614c2387ec485cc042 Mon Sep 17 00:00:00 2001 From: Julien Rabier Date: Tue, 9 Mar 2021 18:31:53 +0100 Subject: [PATCH] [zsh] fix last commit --- dot_zshrc.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 9fa26ee..8d431cc 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -41,10 +41,7 @@ source ~/.zsh/functions source ~/.zsh/exports source ~/.zsh/completion/fzf-completion.zsh -WORK_EXPORT="~/.zsh/exports_work" -if [ -e "$WORK_EXPORT" ]; then - source "$WORK_EXPORT" -fi +[[ -e ~/.zsh/exports_work ]] && source ~/.zsh/exports_work {{- if eq .chezmoi.hostname "taupo" }} source ~/.zsh/aliases_taupo