Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#563983: ssh -S completion erroneous



On Thu, Jan 07, 2010 at 09:44:11AM +1300, martin f krafft wrote:
> lapse:~|master|% ssh -Snone puls^D
> no matches for: `path to control socket'
> 
> If I put a space between -S and none, it works. However, that space
> is not needed.

I'm sensing a pattern.

Index: Completion/Unix/Command/_ssh
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_ssh,v
retrieving revision 1.36
diff -u -r1.36 _ssh
--- Completion/Unix/Command/_ssh	30 Apr 2009 18:02:08 -0000	1.36
+++ Completion/Unix/Command/_ssh	7 Jan 2010 13:58:19 -0000
@@ -77,7 +77,7 @@
       '(-x -Y)-X[enable (untrusted) X11 forwarding]' \
       '(-x -X)-Y[enable trusted X11 forwarding]' \
       '-M[master mode for connection sharing]' \
-      '-S:path to control socket:_files' \
+      '-S+:path to control socket:_files' \
       '-O:multiplex control command:(check exit)' \
       '*-L[specify local port forwarding]:local port forwarding:->forward' \
       '*-R[specify remote port forwarding]:remote port forwarding:->forward' \



Messages sorted by: Reverse Date, Date, Thread, Author