aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-11 21:21:50 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-11 21:21:50 +1200
commitb83fe7d6b69cb0a44a06778a90afa2a70525946f (patch)
tree3702a3591e855d41ea053c75d8a894a28e7063f6 /bash/bash_profile.d
parentSome completion for sudo(8) and sudoedit(8) (diff)
downloaddotfiles-b83fe7d6b69cb0a44a06778a90afa2a70525946f.tar.gz
dotfiles-b83fe7d6b69cb0a44a06778a90afa2a70525946f.zip
Move first newline back into fortune
Diffstat (limited to 'bash/bash_profile.d')
-rw-r--r--bash/bash_profile.d/fortune.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/bash/bash_profile.d/fortune.bash b/bash/bash_profile.d/fortune.bash
index dd054192..89e24630 100644
--- a/bash/bash_profile.d/fortune.bash
+++ b/bash/bash_profile.d/fortune.bash
@@ -3,6 +3,7 @@ if [[ $- == *i* ]] && hash fortune 2>/dev/null ; then (
if [[ -d "$HOME"/.local/share/games/fortunes ]] ; then
FORTUNE_PATH=${FORTUNE_PATH:-$HOME/.local/share/games/fortunes}
fi
+ printf '\n'
fortune -sn "${FORTUNE_MAXSIZE:-768}" "$FORTUNE_PATH"
printf '\n'
) ; fi