{"action":"created","issue":{"url":"https://api.github.com/repos/powerline/powerline/issues/1354","labels_url":"https://api.github.com/repos/powerline/powerline/issues/1354/labels{/name}","comments_url":"https://api.github.com/repos/powerline/powerline/issues/1354/comments","events_url":"https://api.github.com/repos/powerline/powerline/issues/1354/events","html_url":"https://github.com/powerline/powerline/issues/1354","id":74046583,"number":1354,"title":"Powerline broken with Tmux 2.0","user":{"login":"ssbanerje","id":732178,"avatar_url":"https://avatars.githubusercontent.com/u/732178?v=3","gravatar_id":"","url":"https://api.github.com/users/ssbanerje","html_url":"https://github.com/ssbanerje","followers_url":"https://api.github.com/users/ssbanerje/followers","following_url":"https://api.github.com/users/ssbanerje/following{/other_user}","gists_url":"https://api.github.com/users/ssbanerje/gists{/gist_id}","starred_url":"https://api.github.com/users/ssbanerje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssbanerje/subscriptions","organizations_url":"https://api.github.com/users/ssbanerje/orgs","repos_url":"https://api.github.com/users/ssbanerje/repos","events_url":"https://api.github.com/users/ssbanerje/events{/privacy}","received_events_url":"https://api.github.com/users/ssbanerje/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/powerline/powerline/labels/c:b:tmux","name":"c:b:tmux","color":"5379e7"},{"url":"https://api.github.com/repos/powerline/powerline/labels/t:bug","name":"t:bug","color":"FF0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-07T16:29:39Z","updated_at":"2015-05-08T15:39:23Z","closed_at":null,"body":"The powerline status line seems to break after TMUX 2.0 update. Any ideas how to fix this?\r\n\r\n![1___zsh_tmux_plugin_run__tmux__and_new_issue_ _powerline_powerline](https://cloud.githubusercontent.com/assets/732178/7520379/dfe99ec0-f4ab-11e4-9e14-36625dfbba31.png)\r\n\r\nMy `.tmux.conf` is --\r\n```\r\nset -g status-right '#(/Users/subho/.powerline/scripts/powerline tmux right)'\r\nsource '/Users/subho/.powerline/powerline/bindings/tmux/powerline.conf'\r\n```\r\n\r\nAnd my `powerline.conf` is --\r\n```\r\nif-shell 'env \"$POWERLINE_CONFIG_COMMAND\" tmux setup' '' 'run-shell \"powerline-config tmux setup\"'\r\n# vim: ft=tmux\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/13507806-powerline-broken-with-tmux-2-0?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283196&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/powerline/powerline/issues/comments/100275353","html_url":"https://github.com/powerline/powerline/issues/1354#issuecomment-100275353","issue_url":"https://api.github.com/repos/powerline/powerline/issues/1354","id":100275353,"user":{"login":"phongvcao","id":874795,"avatar_url":"https://avatars.githubusercontent.com/u/874795?v=3","gravatar_id":"","url":"https://api.github.com/users/phongvcao","html_url":"https://github.com/phongvcao","followers_url":"https://api.github.com/users/phongvcao/followers","following_url":"https://api.github.com/users/phongvcao/following{/other_user}","gists_url":"https://api.github.com/users/phongvcao/gists{/gist_id}","starred_url":"https://api.github.com/users/phongvcao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phongvcao/subscriptions","organizations_url":"https://api.github.com/users/phongvcao/orgs","repos_url":"https://api.github.com/users/phongvcao/repos","events_url":"https://api.github.com/users/phongvcao/events{/privacy}","received_events_url":"https://api.github.com/users/phongvcao/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T15:39:23Z","updated_at":"2015-05-08T15:39:23Z","body":"@burningTyger @ssbanerje actually I figure out that for some reason tmux no longer execute the ```source``` command inside its ~/.tmux.conf at startup anymore. So to fix this problem, you can simply remove (comment out) the ```source``` command from the ~/.tmux.conf altogether:\r\n\r\n```tmux\r\n# source \"/usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf\"\r\n```\r\n\r\nand add the following lines to anywhere in your ```.zshrc``` (or ```.bashrc```):\r\n\r\n```zsh\r\nif [[ -f /usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf ]]; then\r\n    tmux source \"/usr/lib/python3.4/site-packages/powerline/bindings/tmux/powerline.conf\"\r\nfi\r\n```\r\n"}}