prezto/runcoms/zlogout
Dominic Reich a8e9b91650
personalize (combined commit from over the years)
usually amended and force-pushed
(git add . && git commit --amend && git push --force)

to update it use `git pull --rebase` with no changes in ~/.zprezto
2024-12-24 14:18:09 +01:00

21 lines
479 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 ]] && {
#
# 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