Set custom error zsh message

Change output for zsh 127 error code to fun text and kaomoji.
This commit is contained in:
samedamci 2020-04-22 21:02:28 +02:00
parent 7b764c6419
commit 30a21e33b0

View File

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