diff options
Diffstat (limited to 'bash/bash_profile.d/fortune.bash')
-rw-r--r-- | bash/bash_profile.d/fortune.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_profile.d/fortune.bash b/bash/bash_profile.d/fortune.bash index 89e24630..f3ef2be9 100644 --- a/bash/bash_profile.d/fortune.bash +++ b/bash/bash_profile.d/fortune.bash @@ -1,6 +1,6 @@ # If interactive shell and fortune(6) installed, print a short fortune if [[ $- == *i* ]] && hash fortune 2>/dev/null ; then ( - if [[ -d "$HOME"/.local/share/games/fortunes ]] ; then + if [[ -d $HOME/.local/share/games/fortunes ]] ; then FORTUNE_PATH=${FORTUNE_PATH:-$HOME/.local/share/games/fortunes} fi printf '\n' |