1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 15:08:01 +00:00

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

View File

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