aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:53:01 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 12:53:01 +1300
commitd70ad4e5d4b5296a0c6febca1d880eedd1168453 (patch)
tree5735fee7f028f3a306216c99f709f9c1d3bd193d /zsh
parentRemove TMUX SHLVL crap from zsh config (diff)
downloaddotfiles-d70ad4e5d4b5296a0c6febca1d880eedd1168453.tar.gz
dotfiles-d70ad4e5d4b5296a0c6febca1d880eedd1168453.zip
Inline a file exist-source test
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zprofile4
1 files changed, 1 insertions, 3 deletions
diff --git a/zsh/zprofile b/zsh/zprofile
index 95214ef6..f488426c 100644
--- a/zsh/zprofile
+++ b/zsh/zprofile
@@ -1,5 +1,3 @@
# Zsh doesn't source ~/.profile by default, even when this file is absent.
# <https://sanctum.geek.nz/images/identifying-heresy.jpg>
-if [[ -e $HOME/.profile ]] ; then
- source "$HOME"/.profile
-fi
+[[ -e $HOME/.profile ]] && source "$HOME"/.profile