mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-06 09:01:13 +02:00
25938 (Mikael) + probably 25939, too: typo in _path_files
This commit is contained in:
parent
36d228b129
commit
e775b4dd66
2 changed files with 6 additions and 3 deletions
|
@ -1,6 +1,9 @@
|
|||
2008-10-28 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 25937: README, Src/builtins.c: builtins that don't have
|
||||
* 25938 (Mikael) + probably 25939, too:
|
||||
Completion/Unix/Type/_path_files: IPREFIX missing $.
|
||||
|
||||
* 25937: README, Src/builtin.c: builtins that don't have
|
||||
options now ignore an initial "--" argument.
|
||||
|
||||
2008-10-28 Peter Stephenson <pws@csr.com>
|
||||
|
|
|
@ -732,7 +732,7 @@ for prepath in "$prepaths[@]"; do
|
|||
compquote tmp4 tmp2 tmp1
|
||||
for i in "$tmp1[@]"; do
|
||||
_list_files tmp2 "$prepath$realpath${mid%/*/}"
|
||||
compadd $Uopt -Qf "$mopts[@]" -p "${Uopt:+IPREFIX}$linepath$tmp3/" \
|
||||
compadd $Uopt -Qf "$mopts[@]" -p "${Uopt:+$IPREFIX}$linepath$tmp3/" \
|
||||
-s "/$tmp4$i${Uopt:+$ISUFFIX}" \
|
||||
-W "$prepath$realpath${mid%/*/}/" \
|
||||
"$pfxsfx[@]" $listopts - "$tmp2"
|
||||
|
@ -763,7 +763,7 @@ for prepath in "$prepaths[@]"; do
|
|||
else
|
||||
# Not a pattern match
|
||||
_list_files tmp1 "$prepath$realpath$testpath"
|
||||
compadd $Uopt -Qf -p "${Uopt:+IPREFIX}$linepath$tmp4" \
|
||||
compadd $Uopt -Qf -p "${Uopt:+$IPREFIX}$linepath$tmp4" \
|
||||
-s "${Uopt:+$ISUFFIX}" \
|
||||
-W "$prepath$realpath$testpath" \
|
||||
"$pfxsfx[@]" "$mopts[@]" $listopts -a tmp1
|
||||
|
|
Loading…
Reference in a new issue