New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting `TERM` to `tmux-256color` disables color output. #1059

MaikuMori opened this Issue Jan 6, 2016 · 3 comments


None yet
2 participants

MaikuMori commented Jan 6, 2016

I believe when tmux-256color is used prezto fails to detect that it's color capable terminal and falls back to colorless command output.

tmux-256color is a valid terminfo as of ncurses 6 and is based on screen-256color.

This is also causing #957. The mentioned workaround works, but it should be handled correctly.

@MaikuMori MaikuMori changed the title from Setting `TERM` to `tmux-256color` causes disables color output. to Setting `TERM` to `tmux-256color` disables color output. Jan 6, 2016


This comment has been minimized.


sorin-ionescu commented Jan 9, 2016

Prezto turns off colours for "$TERM" == (dumb|linux|*bsd*).


This comment has been minimized.

MaikuMori commented Jan 10, 2016

You're right. Just tried with bash and I get the same result when doing ls --color - works with TERM=screen-256color, doesn't work with TERM=tmux-256color

So the issue is in the commands themselves. Closing.

@MaikuMori MaikuMori closed this Jan 10, 2016


This comment has been minimized.

MaikuMori commented Jan 29, 2016

For anyone else wondering the bug is in coreutils and the fix will be in coreutils-8.25. It's tracked here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment