aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/bash_profile.d/fortune.bash1
-rw-r--r--bash/bash_profile.d/remind.bash2
-rw-r--r--bash/bash_profile.d/verse.bash3
3 files changed, 4 insertions, 2 deletions
diff --git a/bash/bash_profile.d/fortune.bash b/bash/bash_profile.d/fortune.bash
index deb2e79f..dd054192 100644
--- a/bash/bash_profile.d/fortune.bash
+++ b/bash/bash_profile.d/fortune.bash
@@ -4,5 +4,6 @@ if [[ $- == *i* ]] && hash fortune 2>/dev/null ; then (
FORTUNE_PATH=${FORTUNE_PATH:-$HOME/.local/share/games/fortunes}
fi
fortune -sn "${FORTUNE_MAXSIZE:-768}" "$FORTUNE_PATH"
+ printf '\n'
) ; fi
diff --git a/bash/bash_profile.d/remind.bash b/bash/bash_profile.d/remind.bash
index 50a3d8c8..7188c639 100644
--- a/bash/bash_profile.d/remind.bash
+++ b/bash/bash_profile.d/remind.bash
@@ -1,8 +1,8 @@
# If interactive and rem(1) installed, run it
if [[ $- == *i* ]] && hash rem 2>/dev/null ; then (
- printf '\n'
while read -r reminder ; do
printf '* %s\n' "$reminder"
done < <(rem -hq)
+ printf '\n'
) ; fi
diff --git a/bash/bash_profile.d/verse.bash b/bash/bash_profile.d/verse.bash
index 5d2538dc..8999d840 100644
--- a/bash/bash_profile.d/verse.bash
+++ b/bash/bash_profile.d/verse.bash
@@ -8,7 +8,8 @@ if [[ $- == *i* ]] && hash verse 2>/dev/null ; then (
read -r lastversedate < "$versefile"
fi
if [[ "$date" > "$lastversedate" ]] ; then
- printf '\n%s\n\n' "$(verse)"
+ verse
+ printf '\n'
printf '%s\n' "$date" > "$versefile"
fi
) ; fi