summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-05-28 16:16:27 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-05-28 16:16:27 +0300
commit4e3ec4850cbadd7b744cb4110b4f17b3ab717949 (patch)
treef5c4924121e3b8dd7dcac32fcb3d58a455ce9a3b /functions
parent2e4235cffa69b2200f0f516787bbdf7115f8c664 (diff)
new feature: ruler above the prompt; to enable: POWERLEVEL9K_SHOW_RULER=true
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/icons.zsh5
1 files changed, 5 insertions, 0 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh
index fdd01072..0a48f924 100755
--- a/functions/icons.zsh
+++ b/functions/icons.zsh
@@ -30,6 +30,7 @@ function _p9k_init_icons() {
# Set the right locale to protect special characters
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
icons=(
+ RULER_CHAR $'\u2500' # ─
LEFT_SEGMENT_SEPARATOR $'\uE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # 
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
@@ -132,6 +133,7 @@ function _p9k_init_icons() {
# Set the right locale to protect special characters
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
icons=(
+ RULER_CHAR $'\u2500' # ─
LEFT_SEGMENT_SEPARATOR $'\uE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # 
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
@@ -239,6 +241,7 @@ function _p9k_init_icons() {
fi
icons=(
+ RULER_CHAR $'\u2500' # ─
LEFT_SEGMENT_SEPARATOR $'\uE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # 
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
@@ -334,6 +337,7 @@ function _p9k_init_icons() {
# Set the right locale to protect special characters
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
icons=(
+ RULER_CHAR $'\u2500' # ─
LEFT_SEGMENT_SEPARATOR $'\uE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # 
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace
@@ -432,6 +436,7 @@ function _p9k_init_icons() {
# Set the right locale to protect special characters
local LC_ALL="" LC_CTYPE="en_US.UTF-8"
icons=(
+ RULER_CHAR $'\u2500' # ─
LEFT_SEGMENT_SEPARATOR $'\uE0B0' # 
RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # 
LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace