summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/lean.zsh6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/lean.zsh b/config/lean.zsh
index 890e7e2b..63c9c8e0 100644
--- a/config/lean.zsh
+++ b/config/lean.zsh
@@ -147,8 +147,10 @@ fi
# Show the signal as INT, ABORT, KILL, etc.
typeset -g POWERLEVEL9K_STATUS_ERROR_CONTENT_EXPANSION='${${P9K_CONTENT#SIG}//[!A-Z]}'
- # Show execution time of the last command if it's longer than this many seconds.
- typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
+ # Show execution time of the last command if takes longer than this many seconds.
+ typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=5
+ # Show this many fractional digits. Zero means round to seconds.
+ typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
# Execution time color.
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101