aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/games.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/profile.d/games.sh')
-rw-r--r--sh/profile.d/games.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/profile.d/games.sh b/sh/profile.d/games.sh
new file mode 100644
index 00000000..b0dd1d35
--- /dev/null
+++ b/sh/profile.d/games.sh
@@ -0,0 +1,4 @@
+# Add ~/.local/games to PATH if it exists
+if [ -d "$HOME"/.local/games ] ; then
+ PATH=$HOME/.local/games:$PATH
+fi