about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-04-14 14:54:13 +0000
committerClint Adams <clint@users.sourceforge.net>2004-04-14 14:54:13 +0000
commit255ed50eae1b6ced7375a9336d24168397d02d19 (patch)
tree912d52274bf1532a6936f2a4e9ca3bb6b7b515df
parent9ea50e0e4d502ed90afdd9ed966278594d90b0f0 (diff)
downloadzsh-255ed50eae1b6ced7375a9336d24168397d02d19.tar.gz
zsh-255ed50eae1b6ced7375a9336d24168397d02d19.tar.xz
zsh-255ed50eae1b6ced7375a9336d24168397d02d19.zip
* Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync:
  fix quoting for remote file completion, add -L to ls command.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_rsync4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ebf63535b..6594a9285 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-14  Clint Adams  <clint@zsh.org>
+
+	* Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync:
+	fix quoting for remote file completion, add -L to ls command.
+
 2004-04-14  Oliver Kiddle  <opk@zsh.org>
 
 	* Ingo Rohlfs: 19747: Completion/Unix/Command/_subversion:
diff --git a/Completion/Unix/Command/_rsync b/Completion/Unix/Command/_rsync
index 55fe18d27..533c30e9d 100644
--- a/Completion/Unix/Command/_rsync
+++ b/Completion/Unix/Command/_rsync
@@ -37,8 +37,8 @@ elif [[ -prefix 1 *: ]]; then
 
   if zstyle -T ":completion:${curcontext}:" remote-access; then
     slash=/
-    remfiles=(${(f)"$(_call_program files ssh -a -x ${words[CURRENT]%:*} ls -d1F ${${${words[CURRENT
-]#*:}:h}/${slash}(#e)/}/\* 2>/dev/null)"})
+    remfiles=(${(f)"$(_call_program files ssh -a -x ${words[CURRENT]%:*} ls -d1FL "${${${words[CURRENT
+]#*:}:h}/${slash}(#e)/}/\* 2>/dev/null")"})
 
     remdispf=(${remfiles:#*/})
     remdispd=(${(M)remfiles:#*/})