aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bash_profile3
-rw-r--r--bash/bash_profile.d/fortune.bash1
2 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_profile b/bash/bash_profile
index 40f41c3d..05b15693 100644
--- a/bash/bash_profile
+++ b/bash/bash_profile
@@ -11,9 +11,8 @@ elif ((10#${BASH_VERSINFO[0]%%[![:digit:]]*} == 2)) && \
return
fi
-# Load any supplementary scripts, print a newline first
+# Load any supplementary scripts
if [[ -d $HOME/.bash_profile.d ]] ; then
- printf '\n'
for bash_profile in "$HOME"/.bash_profile.d/*.bash ; do
if [[ -e $bash_profile ]] ; then
source "$bash_profile"
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