caiogondim / bullet-train.zsh

:bullettrain_side: An oh-my-zsh shell theme based on the Powerline Vim plugin
MIT License
2.82k stars 383 forks source link

Execution time not showing up #167

Closed revolter closed 8 years ago

revolter commented 8 years ago

I have this in my .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:

[ 0 -gt 5 ]
  2s 
revolter commented 8 years ago

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.