* PATCH: _path_files typo
@ 2008-10-28 23:19 Peter Stephenson
0 siblings, 0 replies; only message in thread
From: Peter Stephenson @ 2008-10-28 23:19 UTC (permalink / raw)
To: Zsh hackers list
This is a bit of a surprise if it turns up.
Index: Completion/Unix/Type/_path_files
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Type/_path_files,v
retrieving revision 1.37
diff -u -r1.37 _path_files
--- Completion/Unix/Type/_path_files 23 Oct 2008 02:38:59 -0000 1.37
+++ Completion/Unix/Type/_path_files 28 Oct 2008 22:16:15 -0000
@@ -732,7 +732,7 @@
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 @@
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
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-29 20:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-28 23:19 PATCH: _path_files typo Peter Stephenson
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).