From: Oleg Broytman Date: Wed, 4 Jan 2023 11:25:44 +0000 (+0300) Subject: .bashrc,.profile: Add to `$PATH` XScreenSaver hacks in `/usr/games` X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=57a1fbea830d859bdd34322f72fd3209cde838c4 .bashrc,.profile: Add to `$PATH` XScreenSaver hacks in `/usr/games` --- diff --git a/.bashrc b/.bashrc index 2d94622..3255cb6 100644 --- 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 diff --git a/.profile b/.profile index 338ceb1..92c1032 100644 --- a/.profile +++ b/.profile @@ -224,6 +224,8 @@ fi #export DISPLAY if [ -n "$DISPLAY" ]; then + PATH=$PATH:/usr/games + # mutt, python and vim BACKGROUND=LIGHT export BACKGROUND