Mercurial > hg
changeset 3817:45a751d73080
zsh: fix completions with relative paths
hg add ../foo/bar[TAB] now does what you expect
author | Steve Borho <steve@borho.org> |
---|---|
date | Tue, 05 Dec 2006 21:35:44 -0600 |
parents | 248a952c0d17 |
children | bcdab0b2a6f5 |
files | contrib/zsh_completion |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/zsh_completion Tue Dec 05 21:30:04 2006 -0600 +++ b/contrib/zsh_completion Tue Dec 05 21:35:44 2006 -0600 @@ -178,7 +178,7 @@ } _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() {