From b6e6a800e89795fddf75cf5f115f5cc2ae115f16 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 21 Aug 2016 23:15:24 +1200 Subject: Style tweaks to profile.d subscripts --- sh/profile.d/games.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sh/profile.d/games.sh') diff --git a/sh/profile.d/games.sh b/sh/profile.d/games.sh index b0dd1d35..58db3487 100644 --- a/sh/profile.d/games.sh +++ b/sh/profile.d/games.sh @@ -1,4 +1,2 @@ # Add ~/.local/games to PATH if it exists -if [ -d "$HOME"/.local/games ] ; then - PATH=$HOME/.local/games:$PATH -fi +[ -d "$HOME"/.local/games ] && PATH=$HOME/.local/games:$PATH -- cgit v1.2.3