Fix to previous change

Add exit with 127 error code.
This commit is contained in:
samedamci 2020-04-22 21:09:12 +02:00
parent 30a21e33b0
commit 858765a9bb

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