comparison contrib/zsh_completion @ 3806: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 729f354f3f09
comparison
equal deleted inserted replaced
3805:248a952c0d17 3806:45a751d73080
176 _files 176 _files
177 fi 177 fi
178 } 178 }
179 179
180 _hg_status() { 180 _hg_status() {
181 status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 . 2>/dev/null)"}) 181 status_files=(${(ps:\0:)"$(_hg_cmd status -0n$1 ./$PREFIX 2>/dev/null)"})
182 } 182 }
183 183
184 _hg_unknown() { 184 _hg_unknown() {
185 typeset -a status_files 185 typeset -a status_files
186 _hg_status u 186 _hg_status u