Command execution time tweaks.

This commit is contained in:
Bartek Stalewski 2021-10-05 23:36:07 +02:00
parent 2cf8d0accc
commit f3e9782f9e

View file

@ -20,10 +20,10 @@
dir dir
vcs vcs
background_jobs background_jobs
command_execution_time
prompt_char prompt_char
) )
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=( typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(
command_execution_time
vi_mode vi_mode
) )
@ -96,7 +96,7 @@
typeset -g POWERLEVEL9K_VCS_GIT_BITBUCKET_ICON='\uF126' typeset -g POWERLEVEL9K_VCS_GIT_BITBUCKET_ICON='\uF126'
# command_execution_time # command_execution_time
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=30 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=2
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=220 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=220
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s'