fix systemctl autocomplete

This commit is contained in:
LavaDesu 2021-07-10 07:33:17 +07:00
parent 4bba3359b4
commit d900a50eaa
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -108,6 +108,7 @@ in rec {
enableCompletion = true; enableCompletion = true;
initExtraBeforeCompInit = '' initExtraBeforeCompInit = ''
fpath+=(/run/current-system/sw/share/zsh/site-functions)
zstyle ':completion:*' completer _complete zstyle ':completion:*' completer _complete
zstyle ':completion:*' matcher-list "" 'm:{[:lower:][:upper:]-_}={[:upper:][:lower:]_-}' '+l:|=* r:|=*' zstyle ':completion:*' matcher-list "" 'm:{[:lower:][:upper:]-_}={[:upper:][:lower:]_-}' '+l:|=* r:|=*'
zstyle ':completion:*' menu select zstyle ':completion:*' menu select