浏览代码

refined: reset command exec time (#6117)

Fixes #6116
Kevin Kuhl 5 年之前
父节点
当前提交
a85ce89a3d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      themes/refined.zsh-theme

+ 1 - 0
themes/refined.zsh-theme

@@ -72,6 +72,7 @@ preexec() {
 precmd() {
     vcs_info # Get version control info before we start outputting stuff
     print -P "\n$(repo_information) %F{yellow}$(cmd_exec_time)%f"
+    unset cmd_timestamp #Reset cmd exec time.
 }
 
 # Define prompts