git:completion: Add git-checkout-worktree

This commit is contained in:
2021-05-10 17:27:54 +02:00
parent 1d8f21b565
commit b82a9d2221

View File

@@ -34,7 +34,10 @@ zstyle ':completion:*:(diff|meld|trash):*' ignore-line yes
# Use completion of commands for their wrapper functions
compdef ls-show-hidden=ls
compdef nvim-man=man
#
# Copy git completion for arguments
compdef _git-log glog
compdef _git-checkout git-checkout-worktree
# Do not sort `git checkout`s completion
zstyle ":completion:*:git-checkout:*" sort false