aboutsummaryrefslogtreecommitdiff
path: root/internal/icons.zsh
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-03-13 12:34:41 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-03-13 12:34:41 +0300
commit0d662be14cab221fb9cbe9f2a22a3efc3a4c4836 (patch)
tree629247fb4a44bb2e4bd06c64eff129fda54a7ae5 /internal/icons.zsh
parent13523b117d4ae927768e202a0204beaf537cd61d (diff)
fix POWERLEVEL9K_ICON_PADDING with POWERLEVEL9K_MODE=ascii
Diffstat (limited to 'internal/icons.zsh')
-rw-r--r--internal/icons.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/icons.zsh b/internal/icons.zsh
index c07cc626..d41319bc 100644
--- a/internal/icons.zsh
+++ b/internal/icons.zsh
@@ -591,7 +591,7 @@ function _p9k_init_icons() {
VCS_OUTGOING_CHANGES_ICON '>'
VCS_TAG_ICON ''
VCS_BOOKMARK_ICON '^'
- VCS_COMMIT_ICON ''
+ VCS_COMMIT_ICON '@'
VCS_BRANCH_ICON ''
VCS_REMOTE_BRANCH_ICON ':'
VCS_LOADING_ICON ''
@@ -786,7 +786,7 @@ function _p9k_init_icons() {
;;
esac
- if [[ $POWERLEVEL9K_ICON_PADDING == none ]]; then
+ if [[ $POWERLEVEL9K_ICON_PADDING == none && $POWERLEVEL9K_MODE != ascii ]]; then
icons=("${(@kv)icons%% #}")
icons[LEFT_SEGMENT_END_SEPARATOR]+=' '
icons[MULTILINE_LAST_PROMPT_PREFIX]+=' '