zsh: Simplify command_not_found_handler()
See https://github.com/termux/termux-packages/issues/2655#issuecomment-405100634
This commit is contained in:
parent
872b0fead9
commit
6fda59ce2b
@ -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:
|
||||
|
@ -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='%# '
|
||||
|
Loading…
Reference in New Issue
Block a user