Browse Source

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

Kirill Molchanov 3 years ago
parent
commit
22de1d304c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/command-not-found/command-not-found.plugin.zsh

+ 1 - 1
plugins/command-not-found/command-not-found.plugin.zsh

@@ -57,6 +57,6 @@ fi
 # Termux: https://github.com/termux/command-not-found
 # Termux: https://github.com/termux/command-not-found
 if [[ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]]; then
 if [[ -x /data/data/com.termux/files/usr/libexec/termux/command-not-found ]]; then
   command_not_found_handler() {
   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
 fi