aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile.d/verse.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-10 10:50:14 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-10 10:50:14 +1200
commitc4866d8aa56a6c9f8e8952be57bff9b347ac4ac0 (patch)
tree72ed0f6854e54b2926f87c4e02a1e04e3f4f53db /bash/bash_profile.d/verse.bash
parentLimit to slightly shorter fortunes (diff)
downloaddotfiles-c4866d8aa56a6c9f8e8952be57bff9b347ac4ac0.tar.gz
dotfiles-c4866d8aa56a6c9f8e8952be57bff9b347ac4ac0.zip
Rearrange newlines
Diffstat (limited to 'bash/bash_profile.d/verse.bash')
-rw-r--r--bash/bash_profile.d/verse.bash3
1 files changed, 2 insertions, 1 deletions
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