zsh-workers
 help / color / mirror / code / Atom feed
From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: zsh-workers@zsh.org
Subject: Re: [PATCH 1/2] _mkdir: Don't offer a linux-specific optiont in the 'zsh' variant.
Date: Wed, 30 Aug 2017 00:19:01 +0000	[thread overview]
Message-ID: <1504052341.1406206.1089214472.1D38E0E2@webmail.messagingengine.com> (raw)
In-Reply-To: <8804.1504004794@thecus.kiddle.eu>

Oliver Kiddle wrote on Tue, 29 Aug 2017 13:06 +0200:
> 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*.

Good catch.  I'll add an if [[ $OSTYPE == linux* ]] to the case block.


      reply	other threads:[~2017-08-30  0:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-29  2:28 Daniel Shahaf
2017-08-29  2:28 ` [PATCH 2/2] _mkdir: Honour the 'command' and 'builtin' precommand modifiers Daniel Shahaf
2017-08-29 11:06 ` [PATCH 1/2] _mkdir: Don't offer a linux-specific optiont in the 'zsh' variant Oliver Kiddle
2017-08-30  0:19   ` Daniel Shahaf [this message]

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=1504052341.1406206.1089214472.1D38E0E2@webmail.messagingengine.com \
    --to=d.s@daniel.shahaf.name \
    --cc=zsh-workers@zsh.org \
    /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).