about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-10-28 22:23:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-10-28 22:23:04 +0000
commite775b4dd669fdd377ca054fc69e4eb0b882acc2c (patch)
treeae4f2dee6c473bfe854477a70f784ab5e18b9139 /Completion
parent36d228b12934000cf11690b4365c144ef55c905f (diff)
downloadzsh-e775b4dd669fdd377ca054fc69e4eb0b882acc2c.tar.gz
zsh-e775b4dd669fdd377ca054fc69e4eb0b882acc2c.tar.xz
zsh-e775b4dd669fdd377ca054fc69e4eb0b882acc2c.zip
25938 (Mikael) + probably 25939, too: typo in _path_files
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_path_files4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 28df7e1ba..378c45441 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -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