22de1d304c730c6e364a57a7b901978bd2fcd061

Author
Kirill Molchanov <k03.mad@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

fix(command-not-found): pass arguments correctly in Termux (#10403)

Diff

 1diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh
 2index cb96fe063b13dc42ba530b7b7174d84d989d25a3..e4635060465e3310c0923b2423b562e3154afc97 100644
 3--- a/plugins/command-not-found/command-not-found.plugin.zsh
 4+++ b/plugins/command-not-found/command-not-found.plugin.zsh
 5@@ -57,6 +57,6 @@ fi
 6 # Termux: https://github.com/termux/command-not-found
 7 if [[ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]]; then
 8   command_not_found_handler() {
 9-    /data/data/com.termux/files/usr/libexec/termux/command-not-found -- "$1"
10+    /data/data/com.termux/files/usr/libexec/termux/command-not-found "$1"
11   }
12 fi