Add command not found handler for termux

This commit is contained in:
Marko Korhonen 2022-08-17 21:44:39 +03:00
parent 31ab7306c0
commit 8daff27305

View file

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