# HG changeset patch # User Steve Borho # Date 2006-12-06 03:35:44 # Node ID 45a751d730805b1f00bf4a16f61447226c0fa0dd # Parent 248a952c0d17949743679991cffe3189b7dd7669 zsh: fix completions with relative paths hg add ../foo/bar[TAB] now does what you expect diff --git a/contrib/zsh_completion b/contrib/zsh_completion --- a/contrib/zsh_completion +++ b/contrib/zsh_completion @@ -178,7 +178,7 @@ typeset -A _hg_cmd_globals } _hg_status() { - status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 . 2>/dev/null)"}) + status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 ./$PREFIX 2>/dev/null)"}) } _hg_unknown() {