From 255ed50eae1b6ced7375a9336d24168397d02d19 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Wed, 14 Apr 2004 14:54:13 +0000 Subject: * Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync: fix quoting for remote file completion, add -L to ls command. --- Completion/Unix/Command/_rsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion') 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:#*/}) -- cgit 1.4.1