diff options
author | Kirill Molchanov <k03.mad@gmail.com> | 2021-11-10 17:03:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 15:03:38 +0100 |
commit | 22de1d304c730c6e364a57a7b901978bd2fcd061 (patch) | |
tree | 83f7e3407306ae6a165f7842bee40f3ce93f4db4 | |
parent | 1d166eaaa138d7413365205c61412ccb68286b3a (diff) | |
download | zsh-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.zsh | 2 |
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 |