summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Molchanov <k03.mad@gmail.com>2021-11-10 17:03:38 +0300
committerGitHub <noreply@github.com>2021-11-10 15:03:38 +0100
commit22de1d304c730c6e364a57a7b901978bd2fcd061 (patch)
tree83f7e3407306ae6a165f7842bee40f3ce93f4db4
parent1d166eaaa138d7413365205c61412ccb68286b3a (diff)
downloadzsh-22de1d304c730c6e364a57a7b901978bd2fcd061.tar.gz
zsh-22de1d304c730c6e364a57a7b901978bd2fcd061.tar.bz2
zsh-22de1d304c730c6e364a57a7b901978bd2fcd061.zip
fix(command-not-found): pass arguments correctly in Termux (#10403)
-rw-r--r--plugins/command-not-found/command-not-found.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh
index cb96fe063..e46350604 100644
--- a/plugins/command-not-found/command-not-found.plugin.zsh
+++ b/plugins/command-not-found/command-not-found.plugin.zsh
@@ -57,6 +57,6 @@ fi
# Termux: https://github.com/termux/command-not-found
if [[ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]]; then
command_not_found_handler() {
- /data/data/com.termux/files/usr/libexec/termux/command-not-found -- "$1"
+ /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
}
fi