mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fixed git-describe completion.
This commit is contained in:
parent
4622781122
commit
7c21432102
1 changed files with 1 additions and 1 deletions
|
|
@ -589,7 +589,7 @@ _git-commit () {
|
||||||
(( $+functions[_git-describe] )) ||
|
(( $+functions[_git-describe] )) ||
|
||||||
_git-describe () {
|
_git-describe () {
|
||||||
_arguments -w -S -s \
|
_arguments -w -S -s \
|
||||||
'(*)--dirty=-[describe HEAD, adding mark if dirty]::mark'
|
'(*)--dirty=-[describe HEAD, adding mark if dirty]::mark' \
|
||||||
'--all[use any ref found in "$GIT_DIR/refs/"]' \
|
'--all[use any ref found in "$GIT_DIR/refs/"]' \
|
||||||
'--tags[use any ref found in "$GIT_DIR/refs/tags"]' \
|
'--tags[use any ref found in "$GIT_DIR/refs/tags"]' \
|
||||||
'(--tags)--contains[find the tag after the commit instead of before]' \
|
'(--tags)--contains[find the tag after the commit instead of before]' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue