mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Update Mercurial tab completion functions.
This commit is contained in:
parent
e13b2dc811
commit
d52ac73a98
1 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#compdef hg
|
#compdef hg
|
||||||
|
|
||||||
# Zsh completion script for mercurial. Rename this file to _hg and copy
|
# Zsh completion script for mercurial. Rename this file to _hg and copy
|
||||||
|
|
@ -359,7 +358,7 @@ _hg_pat_opts=(
|
||||||
_hg_diff_opts=(
|
_hg_diff_opts=(
|
||||||
'(--text -a)'{-a,--text}'[treat all files as text]'
|
'(--text -a)'{-a,--text}'[treat all files as text]'
|
||||||
'(--git -g)'{-g,--git}'[use git extended diff format]'
|
'(--git -g)'{-g,--git}'[use git extended diff format]'
|
||||||
"--nodates[don't include dates in diff headers]")
|
"--nodates[omit dates from diff headers]")
|
||||||
|
|
||||||
_hg_dryrun_opts=(
|
_hg_dryrun_opts=(
|
||||||
'(--dry-run -n)'{-n,--dry-run}'[do not perform actions, just print output]')
|
'(--dry-run -n)'{-n,--dry-run}'[do not perform actions, just print output]')
|
||||||
|
|
@ -735,6 +734,11 @@ _hg_cmd_status() {
|
||||||
'*:files:_files'
|
'*:files:_files'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_hg_cmd_summary() {
|
||||||
|
_arguments -s -w : $_hg_global_opts \
|
||||||
|
'--remote[check for push and pull]'
|
||||||
|
}
|
||||||
|
|
||||||
_hg_cmd_tag() {
|
_hg_cmd_tag() {
|
||||||
_arguments -s -w : $_hg_global_opts \
|
_arguments -s -w : $_hg_global_opts \
|
||||||
'(--local -l)'{-l,--local}'[make the tag local]' \
|
'(--local -l)'{-l,--local}'[make the tag local]' \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue