Fix to previous change

Add exit with 127 error code.
This commit is contained in:
Wiktor Zykubek 2020-04-22 21:09:12 +02:00
parent e3115ebbb5
commit 0fa720e2a5

View File

@ -25,6 +25,7 @@ source $HOME/.shellrc
# error message # error message
command_not_found_handler() { command_not_found_handler() {
printf "\nahh shit, command not found\n\033[0;31m(╯°□°)╯︵ ┻━┻\n\n" printf "\nahh shit, command not found\n\033[0;31m(╯°□°)╯︵ ┻━┻\n\n"
exit 127
} }
# prompt # prompt