]> git.phdru.name Git - dotfiles.git/blobdiff - .bashrc
.bashrc,.profile: Add to `$PATH` XScreenSaver hacks in `/usr/games`
[dotfiles.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 2d94622f2a7d7945e0159715fd710b50a2d376f9..3255cb6d6892ad96e983e1b4674267dd501c840a 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -10,6 +10,9 @@
 umask 077
 
 PATH="$HOME"/bin:"$HOME"/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+if [ -n "$DISPLAY" ]; then
+    PATH=$PATH:/usr/games
+fi
 
 # Make `ssh host date` to display in 24-hour format
 LANG=C