mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
fixing mercurial completion
This commit is contained in:
parent
e6661db7ea
commit
fecdd78155
1 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,3 @@
|
||||||
# by tinogomes
|
|
||||||
|
|
||||||
#compdef hg
|
#compdef hg
|
||||||
#autoload
|
#autoload
|
||||||
|
|
||||||
|
|
@ -104,6 +102,7 @@ _global_options=(
|
||||||
'(--profile)'--profile'[print command execution profile]'
|
'(--profile)'--profile'[print command execution profile]'
|
||||||
'(--version)'--version'[output version information and exit]'
|
'(--version)'--version'[output version information and exit]'
|
||||||
'(-h --help)'{-h,--help}'[display help and exit]'
|
'(-h --help)'{-h,--help}'[display help and exit]'
|
||||||
|
"*::archieve file:_files -g '(#i)*.*'"
|
||||||
)
|
)
|
||||||
|
|
||||||
local -a _command_options
|
local -a _command_options
|
||||||
|
|
@ -587,9 +586,9 @@ case "$words[1]" in
|
||||||
'(-r --rev REV)'{-r,--rev}'[revision]'
|
'(-r --rev REV)'{-r,--rev}'[revision]'
|
||||||
)
|
)
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
|
|
||||||
_arguments \
|
_arguments \
|
||||||
$_global_options \
|
$_global_options \
|
||||||
$_command_options \
|
$_command_options
|
||||||
"*::archieve file:_files -g '(#i)*.*'" && return 0
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue