You are not logged in.

#1 2014-01-15 21:44:04

dodo3773
Member
Registered: 2011-03-17
Posts: 820

zsh PS1 tty console color issues with newline

So in a tty I get only white in my PS1 when I use 2 lines:

PS1="%{%F{white}%}%~ %{%F{green}%}%{%f%}%(10l.
.)>> "

My old PS1 works fine though:

PS1="%{%F{white}%}%~ %{%F{green}%}>> %{%f%}"

Anyone have any ideas / workarounds?

Offline

Board footer

Powered by FluxBB