Mercurial > hg
changeset 1365:74cf45f8bc19
Suppress warning in zsh_completion script
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 30 Sep 2005 11:06:13 -0700 |
parents | 0f25830f6bc3 |
children | 136920d13fc2 |
files | contrib/zsh_completion |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Thu Sep 29 15:18:32 2005 -0700 +++ b/contrib/zsh_completion Fri Sep 30 11:06:13 2005 -0700 @@ -16,7 +16,7 @@ typeset -A opt_args local subcmds repos tags newFiles addedFiles -tags=($(hg tags | sed -e 's/[0-9]*:[a-f0-9]\{40\}$//; s/ *$//')) +tags=($(hg tags 2> /dev/null | sed -e 's/[0-9]*:[a-f0-9]\{40\}$//; s/ *$// subcmds=($(hg -v help | sed -e '1,/^list of commands:/d' \ -e '/^global options:/,$d' -e '/^ [^ ]/!d; s/[,:]//g;'))