-
Notifications
You must be signed in to change notification settings - Fork 990
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
Powerline broken with Tmux 2.0 #1354
Comments
Was going to post the same. However, this seems to be an issue with tmux, not powerline. You can for example |
@burningTyger @ssbanerje you can temporarily solve this problem by adding the following lines at the end of your .bashrc (or .zshrc): # Put this line at the end of .bashrc or .zshrc
# The path can be whatever path you installed powerline in...
tmux source "/usr/local/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf" |
@burningTyger @ssbanerje actually I just figured out that for some reason tmux no longer executes the # source "/usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf" and add the following lines to your # Put these lines after the tmux startup command
if [[ -f /usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf ]]; then
tmux source "/usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf"
fi (remember to replace the powerline path above with the actual powerline installation path in your computer) 👯 |
@phongvcao I do not see tmux not executing source command. But it for some reason stopped executing Maybe in place of sourcing tmux configuration files I should now execute them from shell line-by-line (or using |
Should make it not needed to bother with environment variables. Makes tmux configuration more fragile. Is a different variant of fixing powerline#1354. Does not conflict with the previous one, so both are kept.
Should make it not needed to bother with environment variables. Makes tmux configuration more fragile. Is a different variant of fixing powerline#1354. Does not conflict with the previous one, so both are kept.
For others who find this: It took me a while to realize what to do to fix this, but it's already fixed here, so I just had to update powerline and everything worked again! For me that was |
Try using |
The powerline status line seems to break after TMUX 2.0 update. Any ideas how to fix this?
My
.tmux.conf
is --And my
powerline.conf
is --The text was updated successfully, but these errors were encountered: