1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-20 13:11:13 +00:00
prezto/runcoms/zlogout

19 lines
276 B
Plaintext
Raw Normal View History

#
# 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 ]] && {
# Print the message.
cat <<-EOF
Thank you. Come again!
-- Dr. Apu Nahasapeemapetilon
EOF
} >&2