From 83bf1b5c995be69e729871a65696ae1248b9f8e5 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 5 Jun 2007 09:58:38 +0000 Subject: Mikael and Phil: 23521, 23522: extra locations for units data --- Completion/Unix/Command/_units | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_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]}} -- cgit 1.4.1