diff options
author | Peter Stephenson <p.stephenson@samsung.com> | 2018-06-29 09:48:44 +0100 |
---|---|---|
committer | Peter Stephenson <p.stephenson@samsung.com> | 2018-06-29 09:48:44 +0100 |
commit | d4022e76c116d14856a55f50140b2585dcf0e409 (patch) | |
tree | 3ca6216ae9dddc36aff5e3b5d3be79b6e8f2d721 /Completion/Unix | |
parent | 3964c63d02638b60d337fdb119212c29ede19084 (diff) | |
download | zsh-d4022e76c116d14856a55f50140b2585dcf0e409.tar.gz zsh-d4022e76c116d14856a55f50140b2585dcf0e409.tar.xz zsh-d4022e76c116d14856a55f50140b2585dcf0e409.zip |
23519: Use tag remote-files for remote files
Diffstat (limited to 'Completion/Unix')
-rw-r--r-- | Completion/Unix/Type/_remote_files | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |