Only enable pacman command not found handler for archlinux hosts
This commit is contained in:
parent
ed5db34d5b
commit
d7290836f3
1 changed files with 2 additions and 0 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue