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

Remove zlogout's Apu quote (#1583)

* Remove zlogout's Apu quote

For questions about why, see https://en.wikipedia.org/wiki/The_Problem_with_Apu

* Add a couple of random sayings per feedback in #1583
This commit is contained in:
Christopher Bowns 2018-05-22 18:44:57 -07:00 committed by Kaleb Elwert
parent 3d911cd511
commit 92e668e1d9

View File

@ -8,11 +8,12 @@
# Execute code only if STDERR is bound to a TTY. # Execute code only if STDERR is bound to a TTY.
[[ -o INTERACTIVE && -t 2 ]] && { [[ -o INTERACTIVE && -t 2 ]] && {
# Print the message. SAYINGS=(
cat <<-EOF "So long and thanks for all the fish.\n -- Douglas Adams"
"Good morning! And in case I don't see ya, good afternoon, good evening and goodnight.\n --Truman Burbank"
)
Thank you. Come again! # Print a randomly-chosen message:
-- Dr. Apu Nahasapeemapetilon echo $SAYINGS[$(($RANDOM % ${#SAYINGS} + 1))]
EOF
} >&2 } >&2