Fix to previous change
Add exit with 127 error code.
This commit is contained in:
parent
e3115ebbb5
commit
0fa720e2a5
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user