zsh/prompt: prepend space to $elapsed
This commit is contained in:
parent
b1de3f1511
commit
07186d1a20
|
@ -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 ###############################
|
||||||
|
|
Loading…
Reference in a new issue