Mercurial > hg
changeset 3597:0d253ec988a6
zsh: complete unknown commands normally
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Tue, 31 Oct 2006 12:05:47 -0800 |
parents | 0611e851b9db |
children | 27121416f9a8 |
files | contrib/zsh_completion |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Tue Oct 31 13:22:05 2006 +0100 +++ b/contrib/zsh_completion Tue Oct 31 12:05:47 2006 -0800 @@ -80,7 +80,10 @@ then curcontext="${curcontext%:*:*}:hg-${cmd}:" _hg_cmd_${cmd} - return + else + # complete unknown commands normally + _arguments -s -w : $_hg_global_opts \ + '*:files:_files -W $(_hg_cmd root)' fi }