mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
stamp: add zsh autocompletion
This commit is contained in:
parent
a118f306b1
commit
9ea8f98e5c
|
|
@ -337,6 +337,10 @@ _git-squash() {
|
|||
':branch-name:__gitex_branch_names'
|
||||
}
|
||||
|
||||
_git-stamp() {
|
||||
_arguments -C \
|
||||
'(--replace -r)'{--replace,-r}'[replace stamps with same id]'
|
||||
}
|
||||
|
||||
_git-summary() {
|
||||
_arguments '--line[summarize with lines rather than commits]'
|
||||
|
|
@ -407,6 +411,7 @@ zstyle ':completion:*:*:git:*' user-commands \
|
|||
show-tree:'show branch tree of commit history' \
|
||||
show-unmerged-branches:'show unmerged branches' \
|
||||
squash:'import changes from a branch' \
|
||||
stamp:'stamp the last commit message' \
|
||||
standup:'recall the commit history' \
|
||||
summary:'show repository summary' \
|
||||
sync:'sync local branch with remote branch' \
|
||||
|
|
|
|||
Loading…
Reference in a new issue