Set custom error zsh message
Change output for zsh 127 error code to fun text and kaomoji.
This commit is contained in:
parent
45fe9d5117
commit
e3115ebbb5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user