Add command not found handler for termux

This commit is contained in:
Marko Korhonen 2022-08-17 21:44:39 +03:00
parent 682218f113
commit eff6329368
No known key found for this signature in database
GPG key ID: 911B85FBC6003FE5

View file

@ -40,6 +40,11 @@ function command_not_found_handler {
done done
fi fi
} }
{%@@ if os == "termux" @@%}
function command_not_found_handler {
$PREFIX/libexec/termux/command-not-found $1
}
{%@@ endif @@%}
# search and install/remove packages with fzf # search and install/remove packages with fzf
pi() { pi() {