battery -> custom_rprompt

This commit is contained in:
Harri Lahtinen 2020-03-04 01:27:40 +02:00
parent 321350a7ef
commit 832b65d971
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,7 @@ fi
custom_rprompt # the output of function `custom_rprompt()` if it is defined
context # user@host
# time # current time
battery
)
# `$(_pp_c x y`) evaluates to `y` if the terminal supports >= 256 colors and to `x` otherwise.
@ -227,6 +228,8 @@ fi
typeset -g POWERLEVEL9K_DIR_{HOME,HOME_SUBFOLDER,ETC,DEFAULT}_FOREGROUND=$(_pp_c 4 6)
typeset -g POWERLEVEL9K_{ETC,FOLDER,HOME,HOME_SUB,LOCK}_ICON=
typeset -g POWERLEVEL9K_DIR_HYPERLINK=false
typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false
typeset -g POWERLEVEL9K_VCS_{CLEAN,UNTRACKED,MODIFIED,LOADING}_BACKGROUND=none
typeset -g POWERLEVEL9K_VCS_CLEAN_FOREGROUND=$(_pp_c 2 76)