From 3f8decaf7d178c90ef6277a749f1b721f383e65b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sun, 11 Nov 2012 22:18:16 +0000 Subject: 30793: account for eglibc in _pick_variant patterns --- Completion/Unix/Command/_ldd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_ldd') diff --git a/Completion/Unix/Command/_ldd b/Completion/Unix/Command/_ldd index d59294717..0980bc043 100644 --- a/Completion/Unix/Command/_ldd +++ b/Completion/Unix/Command/_ldd @@ -1,12 +1,12 @@ #compdef ldd -if _pick_variant gnu=GNU solaris --version; then +if _pick_variant gnu='(GNU|EGLIBC)' solaris --version; then args=( '(- *)--version[display version information]' '(- *)--help[display help information]' '(-v --verbose)'{-v,--verbose}'[include symbol versioning information]' '(-d --data-relocs)'{-d,--data-relocs}'[perform data relocations and report missing objects]' - '(-f --function-relocs)'{-f,--function-relocs}'[perform data/function relocations and report missing objects]' + '(-r --function-relocs)'{-r,--function-relocs}'[perform data/function relocations and report missing objects]' '(-u --unused)'{-u,--unused}'[display any unused objects]' ) else -- cgit 1.4.1