Browse Source
"The function should return status zero if it successfully handled the command, or non-zero status if it failed. In the latter case the standard handling is applied: ‘command not found’ is printed to standard error and the shell exits with status 127." - http://zsh.sourceforge.net/Doc/Release/Command-Execution.html Needed after changes in https://github.com/termux/termux-packages/pull/566 where the command-not-found program no longer exists itself with 0.android-5
Fredrik Fornwall
8 years ago
2 changed files with 4 additions and 3 deletions
@ -1,3 +1,4 @@ |
|||
command_not_found_handler() { |
|||
@TERMUX_PREFIX@/libexec/termux/command-not-found $1 |
|||
return 0 |
|||
} |
|||
|
Loading…
Reference in new issue