# HG changeset patch # User Brendan Cully # Date 1162325147 28800 # Node ID 0d253ec988a627e7e33b4e5e254014f93e343bd6 # Parent 0611e851b9db4475bc7fe9e53a8d0d5d1813e74a zsh: complete unknown commands normally diff -r 0611e851b9db -r 0d253ec988a6 contrib/zsh_completion --- 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 }