From e700d6cad5260658702c8f248383c0513cd8725d Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 30 Oct 2016 14:28:55 +0100 Subject: [PATCH] zsh: tidy up zsh{rc,env} --- shell/zsh/.zshenv | 3 +-- shell/zsh/.zshrc | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/shell/zsh/.zshenv b/shell/zsh/.zshenv index 645f0ada..643a5cdd 100644 --- a/shell/zsh/.zshenv +++ b/shell/zsh/.zshenv @@ -14,8 +14,7 @@ path=( ) fpath=( - $DOTFILES/shell/zsh/completions - $DOTFILES/shell/zsh/functions + $DOTFILES/shell/zsh/{completions,functions} $fpath ) diff --git a/shell/zsh/.zshrc b/shell/zsh/.zshrc index 272d58c0..e01dfeb8 100644 --- a/shell/zsh/.zshrc +++ b/shell/zsh/.zshrc @@ -21,7 +21,7 @@ then zgen save fi -[ -f "$HOME/.zshrc.local" ] && source "$HOME/.zshrc.local" +[[ -f "$HOME/.zshrc.local" ]] && source "$HOME/.zshrc.local" for file in $DOTFILES/.enabled.d/*/*.zsh; do