pull/145/head
romkatv 6 years ago
parent dd09ce6efc
commit c5e24d843b

@ -256,7 +256,7 @@ fi
typeset -g POWERLEVEL9K_TIME_FORMAT='%D{%H:%M:%S}' 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 # 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 # 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 typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
} }

@ -1857,7 +1857,7 @@ set_default POWERLEVEL9K_TIME_FORMAT "%D{%H:%M:%S}"
set_default POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME false set_default POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME false
# If set to true, time will update when you hit enter. This way prompts for the past # 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 # 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 set_default POWERLEVEL9K_TIME_UPDATE_ON_COMMAND false
prompt_time() { prompt_time() {
if (( ! $+_P9K_TIME_TEXT )); then if (( ! $+_P9K_TIME_TEXT )); then

Loading…
Cancel
Save