Swap to getting date in seconds since BSD date doesn't support nanos

This commit is contained in:
David Dworken
2022-04-18 22:36:57 -07:00
parent ca1987a9ab
commit 76f12ab64a
4 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ function _hishtory_add() {
# Runs after <ENTER>, but before the command is executed
# $1 contains the command that was run
_hishtory_command=$1
_hishtory_start_time=`date +%s%N`
_hishtory_start_time=`date +%s`
}
function _hishtory_precmd() {