Closed revolter closed 8 years ago
I have this in my .zshrc:
.zshrc
ZSH_THEME="bullet-train" BULLETTRAIN_EXEC_TIME_SHOW=true source $ZSH/oh-my-zsh.sh
but the execution time is not showing up. If I add echo before this line, the prompt ends with:
echo
[ 0 -gt 5 ] 2s
The problem was that I didn't set BULLETTRAIN_EXEC_TIME_ELAPSED=0. I was testing with commands that take under the default 5 seconds minimum limit.
BULLETTRAIN_EXEC_TIME_ELAPSED=0
5
I have this in my
.zshrc
:but the execution time is not showing up. If I add
echo
before this line, the prompt ends with: