diff --git a/runcoms/zlogout b/runcoms/zlogout index d898fec1aa..1c831a71f0 100644 --- a/runcoms/zlogout +++ b/runcoms/zlogout @@ -3,12 +3,13 @@ # # Authors: # Sorin Ionescu -# - -# Print the message. -cat <<-EOF +# John McDonnell -Thank you. Come again! - -- Dr. Apu Nahasapeemapetilon -EOF +if [ -f ~/.signoffs ]; +then + SIGNOFF=`shuf -n 1 ~/.signoffs` +else + SIGNOFF='Till next time!' +fi +cowsay -$(shuf -n 1 -e b d g p s t w y) -f $(shuf -n 1 -e $(cowsay -l | tail -n +2)) $SIGNOFF || echo $SIGNOFF