mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
feat: Add segment comment
This commit is contained in:
parent
14a038bbda
commit
39e1c51ae3
1 changed files with 1 additions and 0 deletions
|
@ -1332,6 +1332,7 @@ _p9k_prompt_fvm_init() {
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
# Segment that displays the battery status in levels and colors
|
||||||
prompt_battery() {
|
prompt_battery() {
|
||||||
[[ $_p9k_os == (Linux|Android) ]] && _p9k_prompt_battery_set_args
|
[[ $_p9k_os == (Linux|Android) ]] && _p9k_prompt_battery_set_args
|
||||||
(( $#_p9k__battery_args )) && _p9k_prompt_segment "${_p9k__battery_args[@]}"
|
(( $#_p9k__battery_args )) && _p9k_prompt_segment "${_p9k__battery_args[@]}"
|
||||||
|
|
Loading…
Reference in a new issue