* PATCH: Another minor bug in _remote_files
@ 2005-05-07 18:34 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2005-05-07 18:34 UTC (permalink / raw)
To: zsh-workers
Completions for ssh/scp give up to early, without trying all completers in
the appropriate zstyle, because _remote_files always returns success even
when it finds no matches.
The drawback to fixing this is that ssh/scp completions may get a lot
slower, because multiple remote executions of "ls" may occur in order
to satisfy all the possible combinations.
Index: Completion/Unix/Command/_ssh
===================================================================
retrieving revision 1.14
diff -c -r1.14 _ssh
--- Completion/Unix/Command/_ssh 6 Dec 2004 16:51:17 -0000 1.14
+++ Completion/Unix/Command/_ssh 7 May 2005 18:29:21 -0000
@@ -23,6 +27,7 @@
done
(( ret )) || return 0
done
+ return ret
else
_message -e remote-files 'remote file'
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-05-07 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07 18:34 PATCH: Another minor bug in _remote_files Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).