Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _su (was Re: Are completions in some way heavy?)
- X-seq: zsh-workers 38703
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: _su (was Re: Are completions in some way heavy?)
- Date: Fri, 17 Jun 2016 18:50:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1466182210; bh=gUL8sgXPKJtKZci5hNbs8ABBb0CNCbPIiUWf49kcoLQ=; h=In-reply-to:From:References:To:Subject:Date:From:Subject; b=blpJyEKkwap5CcJtBC3HcEYxFXGZwuVVtw45nyUsFV6B3KajJofpJBgMHdBbB1W/FvuicYuyy4HO5G2w5qYkgVvC2qcqi2A7efH793IErg5dpWAQQeoq+JVMKOliisRtPJ1pouDIjE1FYq9HWSerf7sOFbUBbGr71IYYAosXAC+kkn7mVzNa/uBD51qiJfwyRvTzM908puR4OOCX5nRuLMTrb8lNIGnVVdZHauixMgMze2vjx5Czd+w8ZQ61TXJXr746Wp09mhdTNuhBgOSxn4arNaOXmTPzMXC72Kq/GxUdHoe5qG2TLhGeb3drGJoA6mIwYDp69AZaGTNQj3xuyw==
- In-reply-to: <CAD_-DumBwiFX6MkMi5GfQeMQ5yZ0CkXs9eB66MAWCDhMoudvPQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAKc7PVBnpkEnkWZb4yh9BgutbBgfKS0Hh1x6e_Q-jnOyVDHQOg@mail.gmail.com> <160606090104.ZM11947@torch.brasslantern.com> <CAKc7PVB8rH-MeCMzjgSLYi1QhBawcX4tde_SQ06DaHOYo3gDyQ@mail.gmail.com> <1688.1465480099@thecus.kiddle.eu> <CAD_-DumBwiFX6MkMi5GfQeMQ5yZ0CkXs9eB66MAWCDhMoudvPQ@mail.gmail.com>
On 9 Jun, Alexius Ludeman wrote:
>
> The su manpage for os x is available at:
Thanks for that. The patch to support it follows.
Oliver
diff --git a/Completion/Unix/Command/_su b/Completion/Unix/Command/_su
index 73b27ee..9009056 100644
--- a/Completion/Unix/Command/_su
+++ b/Completion/Unix/Command/_su
@@ -25,7 +25,7 @@ case $OSTYPE in
)
first="(--help --version)${first#???}"
;;
- *bsd*|dragonfly*)
+ *bsd*|darwin*|dragonfly*)
args+=(
'-c[use settings from specified login class]:class'
'-f[if the invoked shell is csh, prevent it from reading .cshrc]'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author