diff options
Diffstat (limited to 'sh/profile.d/welcome.sh')
-rw-r--r-- | sh/profile.d/welcome.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/profile.d/welcome.sh b/sh/profile.d/welcome.sh index cdd41edb..22cdde93 100644 --- a/sh/profile.d/welcome.sh +++ b/sh/profile.d/welcome.sh @@ -20,7 +20,7 @@ esac # Show a fortune if welcome fortune ; then - if ! [ -n "$FORTUNE_PATH"] && + if [ -z "$FORTUNE_PATH" ] && [ -d "$HOME"/.local/share/games/fortunes ] ; then FORTUNE_PATH=$HOME/.local/share/games/fortunes fi |