Migrate from ohmyzsh to prezto

This commit is contained in:
Asocia
2022-01-25 15:59:30 +03:00
parent e05b13e6e6
commit 26187caba8
9 changed files with 623 additions and 282 deletions

19
.config/zsh/.zlogout Normal file
View File

@ -0,0 +1,19 @@
#
# 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