this is my PROMPT
PROMPT='%{$fg[green]%}%n%{$reset_color%}@%{$fg[white]%}%m%{$reset_color%}:%{$fg[yellow]%}%~%{$reset_color%} $(git_super_status)
%{$fg[white]%}\$%{$reset_color%}'
Yes, the new line is intentional, it looks like this:
carlo@machine:~
$
My problem is that the white portion is not white, but it stays gray. I've tried this with xterm and urxvt.
XTERM
variable is set to xterm-256color
for xterm
,
and to rxvt-unicode-256color
for urxvt
.
If I use terminator, with TERM
set to xterm
, the white color is correctly visualized. I've also tried setting TERM=xterm
also in the other terminals, but it did not help.
Do anyone have an idea of what is happening here?
EDIT
I've forgot to tell that using urxvt
/xterm
and bash
, the white color is perfectly visualized.
Also I've played a little with escape codes, I can set the variable to white italic, white blinking, white bold but now just plain white.
TERM
variable, notXTERM
.PS1=$'%{\e[37m%}XYZ> %{\e[0m%}'
?PS1=$'%{\e[97m%}XYZ> %{\e[0m%}'
. Also runechotc Co
in problematic terminal and report the output.