mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-25 23:21:15 -03:00
Correctly detect the presence of gdate
Fixes some test spew
This commit is contained in:
@@ -136,7 +136,7 @@ end
|
||||
|
||||
# lame timer
|
||||
for program in {g,}date
|
||||
if $program --version 1>/dev/null 2>/dev/null
|
||||
if command -q $program
|
||||
set milli $program
|
||||
set unit ms
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user