From 57a1fbea830d859bdd34322f72fd3209cde838c4 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 4 Jan 2023 14:25:44 +0300 Subject: [PATCH] .bashrc,.profile: Add to `$PATH` XScreenSaver hacks in `/usr/games` --- .bashrc | 3 +++ .profile | 2 ++ 2 files changed, 5 insertions(+) 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 -- 2.39.2