# HG changeset patch # User Anton Shestakov # Date 2018-08-10 06:46:56 # Node ID f625e457f43a50f599baae14c1514495f8c9e102 # Parent 93fdf00596e4799efd72ddbdc2f81f6da2344e32 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 diff --git a/contrib/zsh_completion b/contrib/zsh_completion --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -139,7 +139,7 @@ typeset -A _hg_cmd_globals 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)