zsh-workers
 help / color / mirror / code / Atom feed
From: "Benjamin R. Haskell" <zsh@benizi.com>
To: Zsh Workers <zsh-workers@sunsite.dk>
Subject: Re: [PATCH] ssh -Y
Date: Wed, 29 Apr 2009 09:34:12 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LNX.2.00.0904290929050.19353@averatec> (raw)
In-Reply-To: <1241007339-25899-1-git-send-email-ingmar@exherbo.org>

On Wed, 29 Apr 2009, Ingmar Vanhassel wrote:

> ---
>  Completion/Unix/Command/_ssh |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/Completion/Unix/Command/_ssh b/Completion/Unix/Command/_ssh
> index 293732c..438ecc2 100644
> --- a/Completion/Unix/Command/_ssh
> +++ b/Completion/Unix/Command/_ssh
> @@ -75,6 +75,7 @@ _ssh () {
>        '-V[show version number]' \
>        '(-X)-x[disable X11 forwarding]' \
>        '(-x)-X[enable X11 forwarding]' \
> +      '-Y[enable trusted X11 forwarding]' \
>        '-M[master mode for connection sharing]' \
>        '-S:path to control socket:_files' \
>        '-O:multiplex control command:(check exit)' \
> 


I had a merge conflict from this... should've sent it in sooner...

Aren't -X, -x, and -Y mutually exclusive?  Here's the way I'd incorporated 
'-Y':  (patch is against CVS)

Best,
Ben


Index: Completion/Unix/Command/_ssh
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_ssh,v
retrieving revision 1.34
diff -u -w -r1.34 _ssh
--- Completion/Unix/Command/_ssh	29 Apr 2009 12:32:37 -0000	1.34
+++ Completion/Unix/Command/_ssh	29 Apr 2009 13:28:45 -0000
@@ -73,9 +73,9 @@
       '(-1 -t)-T[disable pseudo-tty allocation (protocol version 2 only)]' \
       '(-q)*-v[verbose mode]' \
       '-V[show version number]' \
-      '(-X)-x[disable X11 forwarding]' \
-      '(-x)-X[enable X11 forwarding]' \
-      '-Y[enable trusted X11 forwarding]' \
+      '(-X -Y)-x[disable X11 forwarding]' \
+      '(-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' \
       '-O:multiplex control command:(check exit)' \


  reply	other threads:[~2009-04-29 13:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-29 12:15 Ingmar Vanhassel
2009-04-29 13:34 ` Benjamin R. Haskell [this message]
2009-04-29 14:46   ` Ingmar Vanhassel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.00.0904290929050.19353@averatec \
    --to=zsh@benizi.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).