mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
fix POWERLEVEL9K_ICON_PADDING with POWERLEVEL9K_MODE=ascii
This commit is contained in:
parent
13523b117d
commit
0d662be14c
1 changed files with 2 additions and 2 deletions
|
@ -591,7 +591,7 @@ function _p9k_init_icons() {
|
||||||
VCS_OUTGOING_CHANGES_ICON '>'
|
VCS_OUTGOING_CHANGES_ICON '>'
|
||||||
VCS_TAG_ICON ''
|
VCS_TAG_ICON ''
|
||||||
VCS_BOOKMARK_ICON '^'
|
VCS_BOOKMARK_ICON '^'
|
||||||
VCS_COMMIT_ICON ''
|
VCS_COMMIT_ICON '@'
|
||||||
VCS_BRANCH_ICON ''
|
VCS_BRANCH_ICON ''
|
||||||
VCS_REMOTE_BRANCH_ICON ':'
|
VCS_REMOTE_BRANCH_ICON ':'
|
||||||
VCS_LOADING_ICON ''
|
VCS_LOADING_ICON ''
|
||||||
|
@ -786,7 +786,7 @@ function _p9k_init_icons() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ $POWERLEVEL9K_ICON_PADDING == none ]]; then
|
if [[ $POWERLEVEL9K_ICON_PADDING == none && $POWERLEVEL9K_MODE != ascii ]]; then
|
||||||
icons=("${(@kv)icons%% #}")
|
icons=("${(@kv)icons%% #}")
|
||||||
icons[LEFT_SEGMENT_END_SEPARATOR]+=' '
|
icons[LEFT_SEGMENT_END_SEPARATOR]+=' '
|
||||||
icons[MULTILINE_LAST_PROMPT_PREFIX]+=' '
|
icons[MULTILINE_LAST_PROMPT_PREFIX]+=' '
|
||||||
|
|
Loading…
Reference in a new issue