From b83fe7d6b69cb0a44a06778a90afa2a70525946f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 11 Jun 2015 21:21:50 +1200 Subject: Move first newline back into fortune --- bash/bash_profile.d/fortune.bash | 1 + 1 file changed, 1 insertion(+) (limited to 'bash/bash_profile.d') 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 -- cgit v1.2.3