zsh/prompt: prepend space to $elapsed

This commit is contained in:
Henrik Lissner 2015-12-23 02:22:39 -05:00
parent b1de3f1511
commit 07186d1a20

View file

@ -29,7 +29,7 @@ prompt_cmd_exec_time() {
local stop=$EPOCHSECONDS local stop=$EPOCHSECONDS
local start=${cmd_timestamp:-$stop} local start=${cmd_timestamp:-$stop}
integer elapsed=$stop-$start integer elapsed=$stop-$start
(($elapsed > 2)) && $DOTFILES/bin/since -- $elapsed (($elapsed > 2)) && echo ' '$($DOTFILES/bin/since -- $elapsed)
} }
## Hooks ############################### ## Hooks ###############################