mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-22 05:40:08 +00:00
fix(command-not-found): pass arguments correctly in Termux (#10403)
This commit is contained in:
parent
1d166eaaa1
commit
22de1d304c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue