# HG changeset patch # User "Yann E. MORIN" # Date 1305586012 -7200 # Node ID 51f444e857347f6c27819fab686be0f31faec923 # Parent a599431b0ab636ce9ee761d7d62680460fce32f7 bash_completion: enable alias auto-complete When auto-completing, set HGPLAINEXCEPT=alias to list aliases in the suggestions. Signed-off-by: "Yann E. MORIN" diff -r a599431b0ab6 -r 51f444e85734 contrib/bash_completion --- a/contrib/bash_completion Tue May 17 00:17:52 2011 +0200 +++ b/contrib/bash_completion Tue May 17 00:46:52 2011 +0200 @@ -62,7 +62,7 @@ _hg_commands() { local commands - commands="$(_hg_cmd debugcomplete "$cur")" || commands="" + commands="$(HGPLAINEXCEPT=alias _hg_cmd debugcomplete "$cur")" || commands="" COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$commands' -- "$cur")) }