about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Command/_units7
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d60f97583..0734a9cf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-05  Peter Stephenson  <pws@csr.com>
+
+	* From Mikael Magnusson and Phil Pennock: 23521, 23522:
+	Completion/Unix/Command/_units: extra locations for
+	units data.
+
 2007-06-04  Peter Stephenson  <pws@csr.com>
 
 	* 23519: Completion/Unix/Command/_units: completion for "units".
diff --git a/Completion/Unix/Command/_units b/Completion/Unix/Command/_units
index ef9fea16f..357211642 100644
--- a/Completion/Unix/Command/_units
+++ b/Completion/Unix/Command/_units
@@ -37,9 +37,12 @@ compset -S '[^[:alnum:]]*'
 local datfile
 local -a testfiles
 testfiles=(
-  /usr/share/units.dat		# GNU
-  /usr/local/share/units.dat
+  /usr/share/units.dat		# GNU on Fedora
+  /usr/share/units/units.dat    # on gentoo
+  /usr/share/misc/units.dat     # on Debian
+  /usr/local/share/units.dat    # GNU DIY install
   /usr/share/lib/unittab	# Solaris
+  /usr/share/misc/units.lib     # BSD
 )
 
 datfile=${opt_args[-f]:-${opt_args[--file]}}