diff --git a/zsh/bin/update b/zsh/bin/update index b81b20f..b0c3cf9 100755 --- a/zsh/bin/update +++ b/zsh/bin/update @@ -204,7 +204,7 @@ update-npm() { npm -g install "$package" done - seconds=$((`date +%s` - $start_rust_update )) + seconds=$((`date +%s` - $start_npm_update )) formatted=`date -ud "@$seconds" +'%H hours %M minutes %S seconds'` echo "\033[32;1m=== Node packages updated in $formatted ===\033[0m" }