zsh: Simplify command_not_found_handler()

See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
This commit is contained in:
Fredrik Fornwall 2018-07-15 18:44:43 +02:00
parent 872b0fead9
commit 6fda59ce2b
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://www.zsh.org
TERMUX_PKG_DESCRIPTION="Shell with lots of features"
TERMUX_PKG_VERSION=5.5.1
TERMUX_PKG_REVISION=2
TERMUX_PKG_REVISION=3
TERMUX_PKG_SHA256=35dd75e44a3bbc9d5eefe77a9f5504a19eeeac1ca91a36ca15cff65844b92f7a
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/zsh-${TERMUX_PKG_VERSION}.tar.xz
# Remove hard link to bin/zsh as Android does not support hard links:

View File

@ -1,5 +1,5 @@
command_not_found_handler() {
@TERMUX_PREFIX@/libexec/termux/command-not-found $1 || exit $?
@TERMUX_PREFIX@/libexec/termux/command-not-found $1
}
PS1='%# '