mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-08 00:10:41 +01:00
feat(battery): support custom AC indicator (#12528)
This commit is contained in:
@@ -58,7 +58,7 @@ if [[ "$OSTYPE" = darwin* ]]; then
|
||||
fi
|
||||
echo "%{$fg[$color]%}[${battery_pct}%%]%{$reset_color%}"
|
||||
else
|
||||
echo "∞"
|
||||
echo "${BATTERY_CHARGING-⚡️}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user