diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2015-11-21 03:23:20 +0300 |
---|---|---|
committer | Ben Hilburn <bhilburn@gmail.com> | 2015-11-21 03:23:20 +0300 |
commit | 951a4956fcb1598fec349196250e544b90e5eeb7 (patch) | |
tree | 11f360144688ad21f84b0e94043e9f22955660c4 | |
parent | e79a2ffff002a373f79ee25147df92411d174b26 (diff) | |
parent | 231cfda8090d352ca378ea23967a19e2884d672e (diff) |
Merge pull request #150 from Tritlo/prompt_end
Add icon for end of left prompt.
-rw-r--r-- | functions/icons.zsh | 3 | ||||
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh index fb2683b2..dd256b06 100644 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -22,6 +22,7 @@ case $POWERLEVEL9K_MODE in icons=( LEFT_SEGMENT_SEPARATOR $'\UE0B0' # RIGHT_SEGMENT_SEPARATOR $'\UE0B2' # + LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' # RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' # CARRIAGE_RETURN_ICON $'\U21B5' # ↵ @@ -72,6 +73,7 @@ case $POWERLEVEL9K_MODE in icons=( LEFT_SEGMENT_SEPARATOR $'\UE0B0' # RIGHT_SEGMENT_SEPARATOR $'\UE0B2' # + LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' # RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' # CARRIAGE_RETURN_ICON $'\U21B5' # ↵ @@ -117,6 +119,7 @@ case $POWERLEVEL9K_MODE in icons=( LEFT_SEGMENT_SEPARATOR $'\uE0B0' # RIGHT_SEGMENT_SEPARATOR $'\uE0B2' # + LEFT_SEGMENT_END_SEPARATOR ' ' # Whitespace LEFT_SUBSEGMENT_SEPARATOR $'\UE0B1' # RIGHT_SUBSEGMENT_SEPARATOR $'\UE0B3' # CARRIAGE_RETURN_ICON $'\U21B5' # ↵ diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index d71a5cf0..b20d9e7e 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -144,7 +144,7 @@ left_prompt_end() { else echo -n "%k" fi - echo -n "%f " + echo -n "%{%f%}$(print_icon 'LEFT_SEGMENT_END_SEPARATOR')" CURRENT_BG='' } |