zsh: don't sort git-checkout completions

This commit is contained in:
Sam W 2022-04-13 14:51:27 +01:00
parent abb2e0d7d0
commit 303bfaafa3
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,8 @@ in {
initExtra = ''
# zstyle ':completion:*' menu select # fancy interactive autocomplete
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # tabcomplete lower to upper case
# git already sorts output non-alphabetically, which we want to preserve
zstyle ':completion:*:git-checkout:*' sort false
'';
enableSyntaxHighlighting = true;
plugins = [