aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/games.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-21 23:15:24 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-21 23:15:24 +1200
commitb6e6a800e89795fddf75cf5f115f5cc2ae115f16 (patch)
treefe17a2fd66146c158258e0bd508aaece57fc24b0 /sh/profile.d/games.sh
parentQuote a bash->sh variable (diff)
downloaddotfiles-b6e6a800e89795fddf75cf5f115f5cc2ae115f16.tar.gz
dotfiles-b6e6a800e89795fddf75cf5f115f5cc2ae115f16.zip
Style tweaks to profile.d subscripts
Diffstat (limited to 'sh/profile.d/games.sh')
-rw-r--r--sh/profile.d/games.sh4
1 files changed, 1 insertions, 3 deletions
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