mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
less verbose command_execution_time
This commit is contained in:
parent
32537cffaa
commit
0eff9fe1b9
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue