Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

right prompt color error #955

Closed
DuncanHuang opened this issue Aug 16, 2018 · 4 comments
Closed

right prompt color error #955

DuncanHuang opened this issue Aug 16, 2018 · 4 comments

Comments

@DuncanHuang
Copy link

DuncanHuang commented Aug 16, 2018

Hi, I'm setting "POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS" using "ip", but color error

2018-08-16_10-40-27

I find is 264897a this commit after, i checkout to 87acc51 this problem does not exist.

2018-08-16_10-41-02

I try modify file "functions/colors.zsh", change new version

'black'   '000'
'red'     '001'
'green'   '002'
'yellow'  '003'
'blue'    '004'
'magenta' '005'
'cyan'    '006'
'white'   '007'

to old version

'black'  '000'
'maroon' '001'
'green'  '002'
'olive'  '003'
'navy'   '004'
'purple' '005'
'teal'   '006'
'silver' '007'

this problem does not exist, i think this may be the color mapping error.

This problem in macOS does not exist, but in CentOS 6、7 is exist.

Provide my setting parameters

ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_CONTEXT_TEMPLATE="%n"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(ip root_indicator background_jobs command_execution_time time)
POWERLEVEL9K_SHORTEN_DIR_LENGTH=3
POWERLEVEL9K_SHORTEN_STRATEGY=truncate_from_right
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX='╭'
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX='╰'$'\uE0B0 '
POWERLEVEL9K_EXECUTION_TIME_ICON=''
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=0
POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=4
@dritter
Copy link
Member

dritter commented Aug 16, 2018

Hi @DuncanHuang !

Thanks for the bug report. You are right, some colors gone missing in the last release. We fixed that in #929. Could you try out #944 , which is our preparation branch for the upcoming release?

@DuncanHuang
Copy link
Author

#944 fixed this problem, but the color is different from before

2018-08-16_14-08-22

@dritter
Copy link
Member

dritter commented Aug 17, 2018

Hi @DuncanHuang , I created #959 to discuss the color issue.

@bhilburn
Copy link
Member

bhilburn commented Sep 5, 2018

Fixed by merge of #959!

@bhilburn bhilburn closed this as completed Sep 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants