diff options
author | romkatv <roman.perepelitsa@gmail.com> | 2019-07-20 13:41:52 +0300 |
---|---|---|
committer | romkatv <roman.perepelitsa@gmail.com> | 2019-07-20 13:41:52 +0300 |
commit | c4d3ec2cc5b146a277118ab5abddf8d904bad011 (patch) | |
tree | 526fd5bbffb5db31534c5a6ac678764b8b98343c /config/p10k-lean.zsh | |
parent | 2683653ed2269f53ab0f164637cf91ba7643a331 (diff) |
add POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r-- | config/p10k-lean.zsh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index 3c388e27..a890ebad 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -208,10 +208,8 @@ fi typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 # Execution time color. typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=101 - # Duration format: 1h 2m 3s. - local d='${${P9K_CONTENT:/(#b)(*):(*):(*)/${match[1]#0}h ${match[2]#0}m ${match[3]#0}s}' - d+=':/(#b)(*):(*)/${match[1]#0}m ${match[2]#0}s}' - typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_CONTENT_EXPANSION=$d + # Duration format: 1d 2h 3m 4s. + typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' # Don't show the number of background jobs. typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false |