I've installed oh-my-zsh withe the "pure" theme (https://github.com/sindresorhus/pure) and the current directory is now being shown at the prompt. The problem is that it's shown in a dark blue color and it's hard to distingush from the black background (the problem also occurs without the pure theme). I've modified the LSCOLORS but this doesn't work as only changes the output of the ls command.

enter image description here

How can I change it?


1 Answer 1


I've found the solution but it is not what I expected. In the "pure" library what I was trying to change was the preprompt. See this line. I wondered then why there isn't a config variable to change that and found this issue saying that they don't want to introduce color config as it is an opinionated theme, so color configuration is not going to happen. The solution is then to fork the pure repository and change the color according to zsh colors.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .