From 1689f87a3184ab50ef380e73a6022f7bf5b22bf2 Mon Sep 17 00:00:00 2001 From: Ali Moeeny Date: Mon, 29 May 2017 08:46:03 -0400 Subject: [PATCH] show current time with seconds --- runcoms/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runcoms/zshrc b/runcoms/zshrc index a3748e0b..a4335858 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -37,7 +37,7 @@ add-zsh-hook preexec ts_preexec function ts_precmd() { if [ $timer ]; then timer_show=$(($SECONDS - $timer)) - export RPROMPT="%t %F{cyan}${timer_show}s %{$reset_color%}" + export RPROMPT="%* %F{cyan}${timer_show}s %{$reset_color%}" unset timer fi }