Batman is a simple shell plugin which adds in the Right Prompt icons showing battery status.
It's focused on programmers who spend lots of time programming in notebooks. 😎
Look at those arrows 😱 :
-
Clone the repo
-
Run the install by typing
./install.sh
or
git clone [email protected]:zrpaplicacoes/batman.git | sh install.sh
(assuming ssh configured)
In order to change battery icon (full list of available unicode icons here, default full charge color, default almost full charge color, default lack of battery color and default alert color just change global variables before source call in your .bashrc or .zshrc.
BATTERY_SYMBOL='\u22d9'
DANGER_COLOR='%{\e[1;31m%}'
ALERT_COLOR='%{\e[1;33m%}'
SAFE_COLOR='%{\e[1;32m%}'
FULL_COLOR='%{\e[1;35m%}'
source '~/bin/batman/plugin.sh'
- ZRP blog - PT-BR only 😊