caiogondim / bullet-train.zsh

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

Prompt execution time #301

Open AbdouBKS opened 5 years ago

AbdouBKS commented 5 years ago

How can i add the execution time in my prompt order please

JoshuaDoshua commented 5 years ago

@AbdouBKS have you tried adding cmd_exec_time in the prompt order? see example here: https://github.com/caiogondim/bullet-train.zsh/blob/master/bullet-train.zsh-theme#L37

I tested it briefly, and it seems to only log time after a few seconds, (at least 9 seconds?)