summaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-09-09 16:15:31 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-09-09 16:15:31 +0300
commit1ad0e713a45f1f710202395b17a19e485b67d6d9 (patch)
tree4e048b8393ddf5e07eee70d879269526b48ac5b2 /internal/wizard.zsh
parentfd96e92df678da67fc35038c612fbdf95a0e9010 (diff)
use fancier battery icons with nerd fonts
Diffstat (limited to 'internal/wizard.zsh')
-rwxr-xr-xinternal/wizard.zsh10
1 files changed, 7 insertions, 3 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index d8e251ce..7210a318 100755
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1227,9 +1227,13 @@ function generate_config() {
uncomment 'typeset -g POWERLEVEL9K_VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION'
uncomment 'typeset -g POWERLEVEL9K_ANACONDA_VISUAL_IDENTIFIER_EXPANSION'
uncomment 'typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION'
- sub VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION '🐍'
- sub ANACONDA_VISUAL_IDENTIFIER_EXPANSION '🐍'
- sub PYENV_VISUAL_IDENTIFIER_EXPANSION '🐍'
+ sub VIRTUALENV_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
+ sub ANACONDA_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
+ sub PYENV_VISUAL_IDENTIFIER_EXPANSION "'🐍'"
+ fi
+
+ if [[ $POWERLEVEL9K_MODE == nerdfont-complete ]]; then
+ sub BATTERY_STAGES "\$'\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578'"
fi
if [[ $style == classic ]]; then