aboutsummaryrefslogtreecommitdiff
path: root/config/p10k-classic.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-21 20:43:38 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-21 20:43:38 +0300
commit2752074b03167f7b9aa3d2d4291bd4d5e27cf4bd (patch)
tree3170f8b9f4b81fdc4303170a69d89c7fbbf0f119 /config/p10k-classic.zsh
parent66d09d6f3118137f39ef09aa9a063226c856c9ea (diff)
add POWERLEVEL9K_MODE=nerdfont-complete
Diffstat (limited to 'config/p10k-classic.zsh')
-rw-r--r--config/p10k-classic.zsh15
1 files changed, 15 insertions, 0 deletions
diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh
index d7df19aa..42074978 100644
--- a/config/p10k-classic.zsh
+++ b/config/p10k-classic.zsh
@@ -42,6 +42,21 @@ fi
# time # current time
)
+ # Default segment icons depend on the value of POWERLEVEL9K_MODE. For example, LOCK_ICON
+ # can be printed as $'\uE0A2', $'\uE138' or $'\uF023' depending on POWERLEVEL9K_MODE. The
+ # correct value of this parameter depends on the provider of the font your terminal is using.
+ #
+ # Font Provider | POWERLEVEL9K_MODE
+ # ---------------------------------+-------------------
+ # Powerline | powerline
+ # Font Awesome | awesome-fontconfig
+ # Adobe Source Code Pro | awesome-fontconfig
+ # Source Code Pro | awesome-fontconfig
+ # Awesome-Terminal Fonts (regular) | awesome-fontconfig
+ # Awesome-Terminal Fonts (patched) | awesome-patched
+ # Nerd Fonts | nerdfont-complete
+ typeset -g POWERLEVEL9K_MODE=nerdfont-complete
+
# Add an empty line before each prompt.
typeset -g POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
# Add a space between the prompt and the cursor.