mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-01-22 22:45:37 +01:00
Declared new variable properly
This commit is contained in:
parent
4bed6cd1bc
commit
8e4738d4c6
1 changed files with 4 additions and 2 deletions
|
|
@ -3527,7 +3527,7 @@ _p9k_prompt_time_compute() {
|
|||
}
|
||||
|
||||
_p9k_prompt_time_async() {
|
||||
sleep $POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME_INTERVAL || true
|
||||
sleep $_POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME_INTERVAL || true
|
||||
}
|
||||
|
||||
_p9k_prompt_time_sync() {
|
||||
|
|
@ -7809,8 +7809,10 @@ _p9k_init_params() {
|
|||
# commands will contain the start times of their commands as opposed to the default
|
||||
# behavior where they contain the end times of their preceding commands.
|
||||
_p9k_declare -b POWERLEVEL9K_TIME_UPDATE_ON_COMMAND 0
|
||||
# If set to true, time will update every second.
|
||||
# If set to true, time will update on a regular interval.
|
||||
_p9k_declare -b POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME 0
|
||||
# The interval at wich the realtime clock gets updated
|
||||
_p9k_declare -i POWERLEVEL9K_EXPERIMENTAL_TIME_REALTIME_INTERVAL 1
|
||||
|
||||
_p9k_declare -b POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH 0
|
||||
typeset -g _p9k_nix_shell_cond='${IN_NIX_SHELL:#0}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue