summary refs log tree commit diff
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-06-02 17:15:48 -0500
committerOliver Kiddle <okiddle@yahoo.co.uk>2018-06-09 10:00:50 +0200
commit9767ee88495d49df36b54b6fc58232ad76f8b020 (patch)
tree1b9c2c3820e34b12ff397447c64dc5423f6075e9
parent880098352cdcbe20e7b237e144869296537a07f1 (diff)
downloadzsh-9767ee88495d49df36b54b6fc58232ad76f8b020.tar.gz
zsh-9767ee88495d49df36b54b6fc58232ad76f8b020.tar.xz
zsh-9767ee88495d49df36b54b6fc58232ad76f8b020.zip
42918: adapt detection of GNU variant of ldd to work on Ubuntu
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_ldd2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 314cfdc85..370d90b86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-06-09  Oliver Kiddle  <okiddle@yahoo.co.uk>
+
+	* 42918: dana: Completion/Unix/Command/_ldd: adapt detection of
+	GNU variant to work on Ubuntu
+
 2018-06-07  Oliver Kiddle  <okiddle@yahoo.co.uk>
 
 	* 42947: Doron Behar: Completion/Unix/Command/_luarocks:
diff --git a/Completion/Unix/Command/_ldd b/Completion/Unix/Command/_ldd
index 19b8a9105..1de1659a5 100644
--- a/Completion/Unix/Command/_ldd
+++ b/Completion/Unix/Command/_ldd
@@ -1,6 +1,6 @@
 #compdef ldd
 
-if _pick_variant gnu='(GNU|EGLIBC|Gentoo)' unix --version; then
+if _pick_variant gnu='(Free Soft|GNU|EGLIBC|Gentoo)' unix --version; then
   args=(
     '(- *)--version[display version information]'
     '(- *)--help[display help information]'