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
|
||||
|
||||
# Zsh completion script for mercurial. Rename this file to _hg and copy
|
||||
|
|
@ -359,7 +358,7 @@ _hg_pat_opts=(
|
|||
_hg_diff_opts=(
|
||||
'(--text -a)'{-a,--text}'[treat all files as text]'
|
||||
'(--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=(
|
||||
'(--dry-run -n)'{-n,--dry-run}'[do not perform actions, just print output]')
|
||||
|
|
@ -735,6 +734,11 @@ _hg_cmd_status() {
|
|||
'*:files:_files'
|
||||
}
|
||||
|
||||
_hg_cmd_summary() {
|
||||
_arguments -s -w : $_hg_global_opts \
|
||||
'--remote[check for push and pull]'
|
||||
}
|
||||
|
||||
_hg_cmd_tag() {
|
||||
_arguments -s -w : $_hg_global_opts \
|
||||
'(--local -l)'{-l,--local}'[make the tag local]' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue