From d70ad4e5d4b5296a0c6febca1d880eedd1168453 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 19 Dec 2016 12:53:01 +1300 Subject: Inline a file exist-source test --- zsh/zprofile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'zsh') 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. # -if [[ -e $HOME/.profile ]] ; then - source "$HOME"/.profile -fi +[[ -e $HOME/.profile ]] && source "$HOME"/.profile -- cgit v1.2.3