commit 145309c5ef7081079ed9161114b60140bb73ad91 parent 219b34a358807ecd75a6dc8a5247ba7a56b7f7be Author: mrgrouse <bdmfegys@duck.com> Date: Sat, 21 Sep 2024 20:48:08 -0400 wall.sh: assign home variable if not set Diffstat:
| M | wall.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/wall.sh b/wall.sh @@ -1,4 +1,5 @@ #!/bin/sh +[ -z "$HOME" ] && HOME=/home [ -z "$XDG_PICTURES" ] && XDG_PICTURES=$HOME/Pictures case $1 in push)