refactor: remove magic number

This commit is contained in:
Jorge Bucaran 2018-10-08 13:31:31 +09:00
parent 0898825301
commit 203e9d4d69
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -9,7 +9,7 @@ switch (command uname)
end
case \*
function _fisher_now -a elapsed
command date "+%s%3N" | command awk "{ sub(/3N\$/,\"500\"); print \$0 - 0$elapsed }"
command date "+%s%3N" | command awk "{ sub(/3N\$/,\"000\"); print \$0 - 0$elapsed }"
end
end