zsh:completion: Fix completion of ls, git-checkout

This commit is contained in:
2020-12-28 03:17:38 +01:00
parent ebea6a8a80
commit e4677c2626

View File

@@ -30,3 +30,9 @@ _comp_options+=(globdots)
# Don't complete the same argument twice for these programs.
# Taken from http://leahneukirchen.org/dotfiles/.zshrc
zstyle ':completion:*:(diff|meld|trash):*' ignore-line yes
# Use completion of `ls` for `ls-show-hidden`
compdef ls-show-hidden=ls
# Do not sort `git checkout`s completion
zstyle ":completion:*:git-checkout:*" sort false