mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-04 10:41:11 +02:00
Parse "Gentoo" as being GNU libc
This commit is contained in:
parent
45d0046d8f
commit
247f7548dc
4 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-12-10 Mikael Magnusson <mikachu@gmail.com>
|
||||
|
||||
* 33948: Completion/Unix/Command/_getent,
|
||||
Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd:
|
||||
Parse "Gentoo" as being GNU libc
|
||||
|
||||
2014-12-10 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||
|
||||
* 33940: Src/lex.c: handle backslash-meta correctly in lexer
|
||||
|
|
|
@ -5,7 +5,7 @@ local services databases keys
|
|||
local -a args
|
||||
typeset -A opt_args
|
||||
|
||||
if _pick_variant -r is_gnu gnu='(GNU|EGLIBC)' unix --version; then
|
||||
if _pick_variant -r is_gnu gnu='(GNU|EGLIBC|Gentoo)' unix --version; then
|
||||
args+=(
|
||||
'(- 1 *)'{-\?,--help}'[display help information]'
|
||||
'(- 1 *)--usage[display a short usage message]'
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
local expl curcontext="$curcontext" state line ret=1
|
||||
|
||||
if _pick_variant libiconv='GNU*libiconv' glibc='(GNU*libc|EGLIBC)' unix --version; then
|
||||
if _pick_variant libiconv='GNU*libiconv' glibc='(GNU*libc|EGLIBC|Gentoo)' unix --version; then
|
||||
local -a args
|
||||
local exargs="-l --list -? --help --usage --version -V"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#compdef ldd
|
||||
|
||||
if _pick_variant gnu='(GNU|EGLIBC)' solaris --version; then
|
||||
if _pick_variant gnu='(GNU|EGLIBC|Gentoo)' solaris --version; then
|
||||
args=(
|
||||
'(- *)--version[display version information]'
|
||||
'(- *)--help[display help information]'
|
||||
|
|
Loading…
Reference in a new issue