Powerlevel9k / powerlevel9k

Powerlevel9k was a tool for building a beautiful and highly functional CLI, customized for you. P9k had a substantial impact on CLI UX, and its legacy is now continued by P10k.
https://github.com/romkatv/powerlevel10k
MIT License
13.46k stars 949 forks source link

Extra vertical separator in different color for each segment #1317

Closed sdlins closed 5 years ago

sdlins commented 5 years ago

Describe Your Issue

I have a vertical separator in different color for each segment :-/

Captura de tela de 2019-06-21 20-25-57

Have you tried to debug or fix it?

I am a noob in terms of oh-my-zsh but I tried some different color configs, specially for OS_ICON and USER_DEFAULT, with no results.

Now, my relevant configs are:

ZSH_THEME="powerlevel10k/powerlevel10k"
POWERLEVEL9K_MODE="nerdfont-complete"

# Customizacoes
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon user vcs dir_writable)

POWERLEVEL9K_TIME_FOREGROUND='250'
POWERLEVEL9K_TIME_BACKGROUND='240'

POWERLEVEL9K_OS_ICON_FOREGROUND='250'
POWERLEVEL9K_OS_ICON_BACKGROUND='240'

POWERLEVEL9K_USER_DEFAULT_FOREGROUND='240'
POWERLEVEL9K_USER_DEFAULT_BACKGROUND='250'

POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX=" ↳ "
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true

Environment Information

This information will help us understand your configuration.

sdlins commented 5 years ago

In my right section I have no problem.

romkatv commented 5 years ago

Oh no! Not the vertical separators!

See https://github.com/bhilburn/powerlevel9k/issues/1313.

sdlins commented 5 years ago

Thank you @romkatv! I changed the terminal font from "Hack Nerd Font Regular" to other options, including mono, but the only is working fine is "Hack Regular".

A downside is that the icons are smaller. But I still preffer smaller icons than those "vertical" problems.

VladimirMikulic commented 5 years ago

@sdlins you can fix some of these small icons by installing all fonts except the last one from here https://github.com/ryanoasis/nerd-fonts/tree/master/src/glyphs.

Now, some of them will still be small, but it's still better than nothing.