Skip to content
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

[WSL] ZSH Powerline looks better with tmux than without #1493

Closed
eblis opened this issue Mar 29, 2018 · 2 comments
Closed

[WSL] ZSH Powerline looks better with tmux than without #1493

eblis opened this issue Mar 29, 2018 · 2 comments
Labels

Comments

@eblis
Copy link

eblis commented Mar 29, 2018

Installed Windows Subsystem for Linux
ConEmu version 180309, added Linux::Bash task with the following config:
set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pm:/mnt
Installed ZSH, Oh-my-zsh from https://github.com/robbyrussell/oh-my-zsh and powerline from https://github.com/powerline/powerline using pip.
Configured ZSH prompt https://powerline.readthedocs.io/en/latest/usage/shell-prompts.html#zsh-prompt, Vim status line https://powerline.readthedocs.io/en/latest/usage/other.html#vim-statusline and Tmux status line https://powerline.readthedocs.io/en/latest/usage/other.html#tmux-statusline.

When starting Linux::Bash I get a different set of colors compared to when I start tmux in the bash session and it starts ZSH for me. The colors only look correct when zsh is started within tmux.

zsh started normally

zsh started in tmux

As you can see even the dircolors look different, even though I've used the same settings: https://github.com/seebi/dircolors-solarized, dircolors.256dark.
It feels like though when zsh is started normally I don't get the full 256 colors.

@eblis
Copy link
Author

eblis commented Mar 29, 2018

I think I fixed it by adding -cur_console:h0 to the "Linux::Bash" task definition.
Maybe this setting should be added automatically by ConEmu ? To ensure that we get 256 colors support by default ?

@Maximus5 Maximus5 added the ansi label May 25, 2018
@Maximus5
Copy link
Owner

gh-227

It's in RoadMap. I don't want to limit backscroll buffer just because of colors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants