I use zsh with oh-my-zsh and xfce4-terminal in XUbuntu 14.04.

If I configure xfce-terminal with xterm-256color, like this:

xfce4-terminal xterm-256color

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:

xfce4-terminal

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:

terminator-256

The most funny part, is that terminator with only 8 colors, shows theme properly:

terminator-8

What I need to configure to continue using xfce4-terminal with 256 colors and proper theme colors?

11

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy