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.



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