Mercurial > hg-stable
changeset 39235:f625e457f43a
zsh_completion: run hg with HGPLAINEXCEPT=alias to list commands
This is what contrib/bash_completion does, looks like a sensible thing to do.
Differential Revision: https://phab.mercurial-scm.org/D4266
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 10 Aug 2018 14:46:56 +0800 |
parents | 93fdf00596e4 |
children | 362c4603602d |
files | contrib/zsh_completion |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Fri Aug 10 14:41:41 2018 +0800 +++ b/contrib/zsh_completion Fri Aug 10 14:46:56 2018 +0800 @@ -139,7 +139,7 @@ typeset -gA _hg_alias_list local hline cmd cmdalias - _call_program hg hg debugcomplete -v | while read -A hline + _call_program hg HGPLAINEXCEPT=alias hg debugcomplete -v | while read -A hline do cmd=$hline[1] _hg_cmd_list+=($cmd)