Use short apothegms only in fortune

This commit is contained in:
Indrajit Raychaudhuri 2013-07-06 11:28:53 -05:00 committed by Sorin Ionescu
parent ab7f697734
commit 6f9c1666e1
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@
# Print a random, hopefully interesting, adage.
if (( $+commands[fortune] )); then
if [[ -t 0 || -t 1 ]]; then
fortune -a
fortune -s
print
fi
fi