I use zsh with oh-my-zsh
and xfce4-terminal
in XUbuntu 14.04.
If I configure xfce-terminal with xterm-256color
, like this:
I get this error:
*** VTE ***: Failed to load terminal capabilities from '/etc/termcap'
If I leave the default setting, my terminal has 8 colors:
$ echotc Co
8
$ echo $TERM
xterm
If I export, like this:
$ export TERM=xterm-256color
I get proper values and it seems that I have truly 256 colors:
$ echo $TERM
xterm-256color
$ echotc Co
256
But my zsh
prompt doesn't show proper colors. For instance with agnoster
theme:
I see proper colors in the output commands, but only 8 colors in the zsh
prompt.
But using terminator
I see all correct with xterm-256color
:
The most funny part, is that terminator
with only 8 colors, shows theme properly:
What I need to configure to continue using xfce4-terminal
with 256 colors and proper theme colors?
xfce-terminal
and Terminator, enough to hide the dark grey onxfce-terminal
and the light grey on Terminator. Try to change the background color to something totally different (try e.g. red). Can you see the full prompt in bothxfce-terminal
and Terminator that way?terminator
. I like how it gets with "Solarized (dark)" colors preset.export TERM=xterm-256color
to the~/.zshrc
file so it loads when you launch the xfce-terminal?