summaryrefslogtreecommitdiff
path: root/config/p10k-lean.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-20 18:35:30 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-20 18:35:30 +0300
commitf16b29502c9d5d14c9af4d78388f924d59440ab3 (patch)
treee22305cc36f14abd0edd8514ee980126fd0050a2 /config/p10k-lean.zsh
parent34d02736ce71437f41cf583cb38db049bb5944a2 (diff)
add os_icon
Diffstat (limited to 'config/p10k-lean.zsh')
-rw-r--r--config/p10k-lean.zsh8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh
index 32e5fc76..e7653c89 100644
--- a/config/p10k-lean.zsh
+++ b/config/p10k-lean.zsh
@@ -28,6 +28,7 @@ fi
# The list of segments shown on the left. Fill it with the most important segments.
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
# =========================[ Line #1 ]=========================
+ # os_icon # os identifier
dir # current directory
vcs # git status
# =========================[ Line #2 ]=========================
@@ -107,7 +108,7 @@ fi
# Nerd Fonts | nerdfont-complete
#
# Tip: Don't use default icons and forget about font configuration headaches.
- typeset -g POWERLEVEL9K_MODE=powerline
+ typeset -g POWERLEVEL9K_MODE=nerdfont-complete
# Add an empty line before each prompt. If you set it to false, you might want to
# set POWERLEVEL9K_SHOW_RULER to true below.
@@ -119,6 +120,11 @@ fi
typeset -g POWERLEVEL9K_RULER_CHAR='─'
typeset -g POWERLEVEL9K_RULER_FOREGROUND=237
+ # OS identifier color.
+ typeset -g POWERLEVEL9K_OS_ICON_FOREGROUND=212
+ # Want to display a different icon? Uncomment the next line and set the desired value.
+ # typeset -g POWERLEVEL9K_OS_ICON_CONTENT_EXPANSION=$'\uFB8A'
+
# Green prompt symbol if the last command succeeded.
typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS}_FOREGROUND=76
# Red prompt symbol if the last command failed.