fix: use same path for other *BSDs in _fisher_now

pull/516/head
Jorge Bucaran 6 years ago
parent fff873955a
commit e1469e5a39
No known key found for this signature in database
GPG Key ID: E54BA3C0E646DB30

@ -470,7 +470,7 @@ end
function _fisher_now -a elapsed
switch (command uname)
case Darwin FreeBSD
case Darwin \*BSD
command perl -MTime::HiRes -e 'printf("%.0f\n", (Time::HiRes::time() * 1000) - $ARGV[0])' $elapsed
case \*
command date "+%s%3N" | command awk -v ELAPSED="$elapsed" '{ print $0 - ELAPSED }'

Loading…
Cancel
Save