mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-01 04:46:08 +02:00
46044 (tweaked per Matthew): _units: Correct the path to the units data file on Debian with units 2.00 and newer and on FreeBSD.
This commit is contained in:
parent
6be112fe74
commit
8bd46bf2a2
|
@ -1,3 +1,9 @@
|
|||
2020-06-19 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 46044 (tweaked per Matthew): Completion/Unix/Command/_units:
|
||||
Correct the path to the units data file on Debian with units
|
||||
2.00 and newer and on FreeBSD.
|
||||
|
||||
2020-06-18 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 46067: Test/A05execution.ztst: Add a unit test for
|
||||
|
|
|
@ -40,10 +40,12 @@ local -a testfiles
|
|||
testfiles=(
|
||||
/usr/share/units.dat # GNU on Fedora
|
||||
/usr/share/units/units.dat # on gentoo
|
||||
/usr/share/misc/units.dat # on Debian
|
||||
/usr/share/units/definitions.units # on Debian, units 2.00 and newer
|
||||
/usr/local/share/units.dat # GNU DIY install
|
||||
/usr/share/lib/unittab # Solaris
|
||||
/usr/share/misc/units.lib # BSD
|
||||
/usr/share/misc/units.lib # OpenBSD [as of 2020]; also FreeBSD 9.1
|
||||
/usr/share/misc/definitions.units # FreeBSD 12.1
|
||||
/usr/share/misc/units.dat # on Debian, units 1.88 and older
|
||||
)
|
||||
|
||||
datfile=${opt_args[-f]:-${opt_args[--file]}}
|
||||
|
|
Loading…
Reference in New Issue