aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-03-29 17:17:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-03-29 17:17:40 +1300
commit607527f2d20e40dea83a1fc6ead4ad37467c0f4c (patch)
tree443542331aa694ebd4bdbdfb80c96d3b8260a2da /zsh/zshrc
parentRemove unneeded leading pipe from b:undo_ftplugin (diff)
downloaddotfiles-607527f2d20e40dea83a1fc6ead4ad37467c0f4c.tar.gz
dotfiles-607527f2d20e40dea83a1fc6ead4ad37467c0f4c.zip
Fix up a few cosmetic shell anti-patterns
Diffstat (limited to 'zsh/zshrc')
-rw-r--r--zsh/zshrc4
1 files changed, 3 insertions, 1 deletions
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