aboutsummaryrefslogtreecommitdiff
path: root/zsh/zprofile
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/zprofile
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/zprofile')
-rw-r--r--zsh/zprofile4
1 files changed, 3 insertions, 1 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 65586fe2..614672ba 100644
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -1,2 +1,4 @@
# Source ~/.profile, since Zsh doesn't do this by default
-[[ -e $HOME/.profile ]] && source "$HOME"/.profile
+if [[ -e $HOME/.profile ]] ; then
+ source "$HOME"/.profile
+fi