Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH 1/2] _mkdir: Don't offer a linux-specific optiont in the 'zsh' variant.
- X-seq: zsh-workers 41622
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: [PATCH 1/2] _mkdir: Don't offer a linux-specific optiont in the 'zsh' variant.
- Date: Tue, 29 Aug 2017 13:06:34 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1504026078; bh=SeIWag96Mmti7L6pWuUfsGANV2bArfI9tK/yNT+MhjQ=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=snCjE63/beFsARuOhn4hgDiElYRQvzWe+0d/1WYa4AY1SVkEqWkThfBEMSQ6RAWsj4ucvpLJujLLHPvWWKF9fjA7KdFMHc4fE3k8J5zTdfrN3/Y0EajlNbEL+R4gcazBm6oCCjYbJ9qeVwKONN6Aibh1xp7p5NBFe1eYcWxvuVnuUy5fsrp/u0c4F4pbnUavKGQxNX8QrKLKumXL67ou/B1/S0e6i0BGdZ6DeGtmDOO5SYWnwyNrUi9dFuBwEDdUn2yMpPdLAC9eV5pdzLHqm0Nslod5uyx7rNtDWsYAzXahg+2a0oCcvksWXNCapEBfMctCd+94vB/3dXNBvXdx9A==
- In-reply-to: <20170829022810.485-1-danielsh@tarpaulin.shahaf.local2>
- 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: <20170829022810.485-1-danielsh@tarpaulin.shahaf.local2>
Daniel Shahaf wrote:
> gnu)
> args+=(
> + '(-Z --context)'{-Z,--context=}'[set SELinux context]:SELinux context'
That now offers -Z for people using GNU mkdir on a non-Linux system.
That's far from unusual, either via g prefixes, e.g. gmkdir, aliases or
directories like /usr/gnu/bin. We could perhaps change the case statement
to check both variables - case $variant:$OSTYPE - to allow a match for
gnu:linux*.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author