diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 12:53:01 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 12:53:01 +1300 |
commit | d70ad4e5d4b5296a0c6febca1d880eedd1168453 (patch) | |
tree | 5735fee7f028f3a306216c99f709f9c1d3bd193d /zsh | |
parent | Remove TMUX SHLVL crap from zsh config (diff) | |
download | dotfiles-d70ad4e5d4b5296a0c6febca1d880eedd1168453.tar.gz dotfiles-d70ad4e5d4b5296a0c6febca1d880eedd1168453.zip |
Inline a file exist-source test
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/zprofile | 4 |
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 |