Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: some repeatable options in completions
- X-seq: zsh-workers 44785
- From: "Daniel Shahaf" <d.s@xxxxxxxxxxxxxxxxxx>
- To: "Zsh workers" <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: some repeatable options in completions
- Date: Fri, 27 Sep 2019 13:49:35 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=mime-version:message-id:in-reply-to :references:date:from:to:subject:content-type; s=fm1; bh=BuGgzcC Yb4KkUVmI80WyMp+hwhwJhbK14TNXpZ7DzVs=; b=GzbANCVfBhQ9Q3aIulZzXo2 IMENXsM4cSFccGXju+ssHp5G0dU+FhRS+ZdPIb9TPPn4kfb9C2Pei+Nnk+vAKZ6Z JjmxSlpOwjtguApE6HZu+nM/8GX7H+c0zI9TlCRQiHHt4LkcYDSA2rxALlvYtzvc DxpnbqEvBiTXM3IUWMn2wOsgaDUFYn31Qk/dszYLWFhTTIhKL6xFEVUGWXbms3ZG EowHLY7lpPc0dYxGhhf8FVKWappRTaz2PQRfA0W7/Cj5D6aKCvy0rsFdXCk6dKvK tnV/Z5cqxAqwW4spIXEGi8F1eZkSTFKLpSDVWiyOFSf3jtpG1+CMEF9O9x6TLcw= =
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=BuGgzc CYb4KkUVmI80WyMp+hwhwJhbK14TNXpZ7DzVs=; b=eg2nU1pgObkr+iovpZXF8W dqDP0e3E7lGnWeVF3axwbn+zWnNAh7L4pOgE02Mp9685GS9N6PL5UaxXMyA2k3RF C0U/Ba+WLw0enKQRmPEI6ngSC/AvyN2mkJ4uLn0qjJFWtBimqFNTgWJ/qEF1aEZq qtx9Wb1oGNSOT6xsVNzlvXlMzo6XDbapa5Mg7kpl4rDta3g3lz1HWflv14hO+Y2v DgEBphWG/npgRQMh/3m5B5xf80zjUNGpXV1ZAfkYu9gt6Zbg9uXfGA4wTTjxeN+W nb8jAu338HejVjzcMXa0bkijAbQzk3au15dV2FOXvWfL4Ii+iSYmHDzOunRm9LjQ ==
- In-reply-to: <93184-1569577244.094968@Wtq1.Nz_l.UBa8>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <93184-1569577244.094968@Wtq1.Nz_l.UBa8>
Oliver Kiddle wrote on Fri, 27 Sep 2019 09:40 +00:00:
> ssh, multiple -t options force tty allocation, even if ssh has no local
> tty. So I'm not sure there's any meaning to specifying it more than
> twice but _arguments doesn't provide an easy way to indicate that.
>
(untested) How about:
'(-t -tt)-T[disable pseudo-tty allocation]' \
'(-T)-t[force pseudo-tty allocation]' \
"(-T)-tt[force pseudo-tty allocation even if have no controlling tty]" \
?
> '-s[invoke subsystem]' \
> '(-t)-T[disable pseudo-tty allocation]' \
> - '(-T)-t[force pseudo-tty allocation]' \
> + '(-T)*-t[force pseudo-tty allocation]' \
> '-V[show version number]' \
> '(-q)*-v[verbose mode (multiple increase verbosity, up to 3)]' \
> '-W+[forward standard input and output to host]:stdinout forward:->hostport' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author