Set custom error zsh message

Change output for zsh 127 error code to fun text and kaomoji.
This commit is contained in:
Wiktor Zykubek 2020-04-22 21:02:28 +02:00
parent 45fe9d5117
commit e3115ebbb5

View File

@ -22,6 +22,11 @@ HISTFILE="${ZDIR}/history"
source $HOME/.profile source $HOME/.profile
source $HOME/.shellrc source $HOME/.shellrc
# error message
command_not_found_handler() {
printf "\nahh shit, command not found\n\033[0;31m(╯°□°)╯︵ ┻━┻\n\n"
}
# prompt # prompt
setopt prompt_subst setopt prompt_subst
setopt autocd setopt autocd