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