From d4022e76c116d14856a55f50140b2585dcf0e409 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Fri, 29 Jun 2018 09:48:44 +0100
Subject: 23519: Use tag remote-files for remote files
---
Completion/Unix/Type/_remote_files | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'Completion')
diff --git a/Completion/Unix/Type/_remote_files b/Completion/Unix/Type/_remote_files
index a5fce9afd..267715a51 100644
--- a/Completion/Unix/Type/_remote_files
+++ b/Completion/Unix/Type/_remote_files
@@ -75,9 +75,9 @@ if zstyle -T ":completion:${curcontext}:files" remote-access; then
remdispf=( ${(M)remdispf:#${~glob[2]}} )
fi
- _tags files
+ _tags remote-files
while _tags; do
- while _next_label files expl ${suf:-remote directory}; do
+ while _next_label remote-files expl ${suf:-remote directory}; do
[[ -n $suf ]] &&
compadd "$args[@]" "$expl[@]" -d remdispf -- ${(q)remdispf%[*=|]} && ret=0
compadd ${suf:+-S/} -r "/ \t\n\-" "$args[@]" "$expl[@]" -d remdispd \
--
cgit 1.4.1