浏览代码

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

Kirill Molchanov 3 年之前
父节点
当前提交
22de1d304c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 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