1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 10:28:00 +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.
if (( $+commands[fortune] )); then
if [[ -t 0 || -t 1 ]]; then
fortune -a
fortune -s
print
fi
fi