about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-06-05 09:58:38 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-06-05 09:58:38 +0000
commit83bf1b5c995be69e729871a65696ae1248b9f8e5 (patch)
tree48c4391ac1a2844a99f0504fd9818e02959984b1 /Completion/Unix
parentd3731fac38a95846f7150dd12e9bdb7b8ee2aef8 (diff)
downloadzsh-83bf1b5c995be69e729871a65696ae1248b9f8e5.tar.gz
zsh-83bf1b5c995be69e729871a65696ae1248b9f8e5.tar.xz
zsh-83bf1b5c995be69e729871a65696ae1248b9f8e5.zip
Mikael and Phil: 23521, 23522: extra locations for units data
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_units7
1 files changed, 5 insertions, 2 deletions
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]}}