Only enable pacman command not found handler for archlinux hosts

This commit is contained in:
Marko Korhonen 2021-08-17 21:02:58 +03:00
parent da9abb7282
commit b6b878e461

View file

@ -21,6 +21,7 @@ _fzf_compgen_path() {
_skim_compgen_path _skim_compgen_path
} }
{%@@ if profile != "mko-laptop" @@%}
# Command not found handler # Command not found handler
# source https://wiki.archlinux.org/title/Zsh#pacman_-F_%22command_not_found%22_handler # source https://wiki.archlinux.org/title/Zsh#pacman_-F_%22command_not_found%22_handler
function command_not_found_handler { function command_not_found_handler {
@ -48,6 +49,7 @@ function command_not_found_handler {
done done
fi fi
} }
{%@@ endif @@%}
# search and install packages with skim # search and install packages with skim
pi() { pi() {