This commit is contained in:
romkatv 2019-07-17 08:47:58 +02:00
parent dd09ce6efc
commit c5e24d843b
2 changed files with 2 additions and 2 deletions

View file

@ -256,7 +256,7 @@ fi
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}'
# If set to true, time will update when you hit enter. This way prompts for the past
# commands will contain the start times of their commands as opposed to the default
# behavior where they contain the end times of their preceeding commands.
# behavior where they contain the end times of their preceding commands.
typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
}

View file

@ -1857,7 +1857,7 @@ set_default POWERLEVEL9K_TIME_FORMAT "%D{%H:%M:%S}"
set_default POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME false
# If set to true, time will update when you hit enter. This way prompts for the past
# commands will contain the start times of their commands as opposed to the default
# behavior where they contain the end times of their preceeding commands.
# behavior where they contain the end times of their preceding commands.
set_default POWERLEVEL9K_TIME_UPDATE_ON_COMMAND false
prompt_time() {
if (( ! $+_P9K_TIME_TEXT )); then