This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
termux-packages
mirror of
https://github.com/lukechilds/termux-packages.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5112
Commits
6
Branches
0
Tags
18 MiB
Tree:
78e7c2916a
android-5
build-on-device
electrs
emacs-27
master
patch-log
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '78e7c2916a'
${ noResults }
termux-packages
/
packages
/
zsh
/
etc-zshrc
5 lines
95 B
Raw
Normal View
History
Enable command-not-found for bash and zsh interactive shells
10 years ago
command_not_found_handler() {
@TERMUX_PREFIX@/libexec/termux/command-not-found $1
zsh: Return 0 from command_not_found_handler "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.
8 years ago
return 0
Enable command-not-found for bash and zsh interactive shells
10 years ago
}