dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

zsh prompt current working directory seems darker

Open ManuISEN opened this issue 1 year ago • 2 comments

Hi!

It seems that I don't have the same color than your on the current working directory (screenshot taken from one of your YouTube video). I'm running macOS Sonoma 14.6

image

image

ManuISEN avatar Aug 07 '24 08:08 ManuISEN

It's because it defaults to the color black, use something like this instead (in the prompt variable under the .zshrc file)

... %F{black}%B%3~ ...

And that should give you gray, or could also change your terminal theme.

muHashh avatar Oct 03 '24 21:10 muHashh

It's because it defaults to the color black, use something like this instead (in the prompt variable under the .zshrc file)

... %F{black}%B%3~ ...

And that should give you gray, or could also change your terminal theme.

Thanks for your reply. Tried with what you gave but still doesn't show as grey:

export PS1=$'\n'"%F{green} %*%F %F{black}%B%3~ %F{white}"$'\n'"$ "

image

ManuISEN avatar Oct 08 '24 13:10 ManuISEN