diff --git a/powerline/bindings/config.py b/powerline/bindings/config.py index 03b0b5bb..831b302c 100644 --- a/powerline/bindings/config.py +++ b/powerline/bindings/config.py @@ -90,7 +90,7 @@ class EmptyArgs(object): def init_environment(pl, args): '''Initialize tmux environment from tmux configuration ''' - powerline = ShellPowerline(finish_args(EmptyArgs('tmux', args.config_path))) + powerline = ShellPowerline(finish_args(os.environ, EmptyArgs('tmux', args.config_path))) # TODO Move configuration files loading out of Powerline object and use it # directly powerline.update_renderer()