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

This commit is contained in:
Kirill Molchanov 2021-11-10 17:03:38 +03:00 committed by GitHub
parent 1d166eaaa1
commit 22de1d304c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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