mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Correctly detect the presence of gdate
Fixes some test spew
This commit is contained in:
parent
d7c695114a
commit
4b181df254
@ -136,7 +136,7 @@ end
|
|||||||
|
|
||||||
# lame timer
|
# lame timer
|
||||||
for program in {g,}date
|
for program in {g,}date
|
||||||
if $program --version 1>/dev/null 2>/dev/null
|
if command -q $program
|
||||||
set milli $program
|
set milli $program
|
||||||
set unit ms
|
set unit ms
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user