mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
fix: battery prompt when no rbenv exists
This commit is contained in:
parent
1189065aed
commit
08dea31e54
1 changed files with 1 additions and 0 deletions
|
|
@ -6,4 +6,5 @@ else
|
||||||
error_msg='no battery'
|
error_msg='no battery'
|
||||||
function battery_pct_remaining() { echo $error_msg }
|
function battery_pct_remaining() { echo $error_msg }
|
||||||
function battery_time_remaining() { echo $error_msg }
|
function battery_time_remaining() { echo $error_msg }
|
||||||
|
function battery_pct_prompt() { echo '' }
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue