From 39e1c51ae302842fb32af9888e08a2eb96fc7c77 Mon Sep 17 00:00:00 2001 From: Li Haoyuan <1513624626@qq.com> Date: Wed, 10 Jul 2024 13:44:46 +0800 Subject: [PATCH] feat: Add segment comment --- internal/p10k.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/p10k.zsh b/internal/p10k.zsh index fd030c5a..f2c252bc 100644 --- a/internal/p10k.zsh +++ b/internal/p10k.zsh @@ -1332,6 +1332,7 @@ _p9k_prompt_fvm_init() { } ################################################################ +# Segment that displays the battery status in levels and colors prompt_battery() { [[ $_p9k_os == (Linux|Android) ]] && _p9k_prompt_battery_set_args (( $#_p9k__battery_args )) && _p9k_prompt_segment "${_p9k__battery_args[@]}"