mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Revert "Correctly detect the presence of gdate"
This reverts commit 4b181df25471c6640eb76d2b70c80064768c0b4b. It will result in systems without a GNU date having a literal "N" in the output.
This commit is contained in:
parent
6bbf3726fc
commit
7804a5e477
@ -136,7 +136,7 @@ end
|
||||
|
||||
# lame timer
|
||||
for program in {g,}date
|
||||
if command -q $program
|
||||
if $program --version 1>/dev/null 2>/dev/null
|
||||
set milli $program
|
||||
set unit ms
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user