mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 18:38:00 +00:00
19 lines
276 B
Bash
19 lines
276 B
Bash
#
|
|
# 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
|