Rename .bindings.config.init_environment to init_tmux_environment

Otherwise it is not clear what environment is initialised.
This commit is contained in:
ZyX 2015-01-16 22:26:12 +03:00
parent 939b2ca013
commit 70b1e342c4
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class EmptyArgs(object):
return None
def init_environment(pl, args):
def init_tmux_environment(pl, args):
'''Initialize tmux environment from tmux configuration
'''
powerline = ShellPowerline(finish_args(os.environ, EmptyArgs('tmux', args.config_path)))

View File

@ -20,7 +20,7 @@ class StrFunction(object):
TMUX_ACTIONS = {
'source': StrFunction(config.source_tmux_files, 'source'),
'setenv': StrFunction(config.init_environment, 'setenv'),
'setenv': StrFunction(config.init_tmux_environment, 'setenv'),
}