mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
fixed output string color declaration
This commit is contained in:
parent
acf5e97756
commit
118008c402
1 changed files with 1 additions and 1 deletions
|
@ -652,7 +652,7 @@ prompt_battery() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# display prompt_segment
|
# display prompt_segment
|
||||||
[[ ! -z $bat_percent ]] && "$1_prompt_segment" "$0" "black" "$DEFAULT_COLOR" "$conn$(print_icon 'BATTERY_ICON'){$fg_color} $bat_percent%% $remain"
|
[[ ! -z $bat_percent ]] && "$1_prompt_segment" "$0" "black" "$DEFAULT_COLOR" "$conn$(print_icon 'BATTERY_ICON')%F{$fg_color} $bat_percent%% $remain"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue