1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/runcoms/zlogout

22 lines
479 B

#
# Executes commands at logout.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Execute code only if STDERR is bound to a TTY.
# [[ -o INTERACTIVE && -t 2 ]] && {
#
# SAYINGS=(
# "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"
# )
#
# # Print a randomly-chosen message:
# echo $SAYINGS[$(($RANDOM % ${#SAYINGS} + 1))]
#
# } >&2
clear