From 607527f2d20e40dea83a1fc6ead4ad37467c0f4c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Fri, 29 Mar 2019 17:17:40 +1300 Subject: Fix up a few cosmetic shell anti-patterns --- zsh/zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zsh/zshrc') diff --git a/zsh/zshrc b/zsh/zshrc index 25d90ead..0aac527e 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -5,7 +5,9 @@ unalias -a >/dev/null 2>&1 # If ENV is set, source it to get all the POSIX-compatible interactive stuff -[[ -n $ENV ]] && source "$ENV" +if [[ -n $ENV ]] ; then + source "$ENV" +fi # Emacs keybindings even if EDITOR is vi(1) bindkey -e -- cgit v1.2.3