mirror of
https://github.com/powerline/powerline.git
synced 2025-07-23 22:05:43 +02:00
Rename .bindings.config.init_environment to init_tmux_environment
Otherwise it is not clear what environment is initialised.
This commit is contained in:
parent
939b2ca013
commit
70b1e342c4
@ -87,7 +87,7 @@ class EmptyArgs(object):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
def init_environment(pl, args):
|
def init_tmux_environment(pl, args):
|
||||||
'''Initialize tmux environment from tmux configuration
|
'''Initialize tmux environment from tmux configuration
|
||||||
'''
|
'''
|
||||||
powerline = ShellPowerline(finish_args(os.environ, EmptyArgs('tmux', args.config_path)))
|
powerline = ShellPowerline(finish_args(os.environ, EmptyArgs('tmux', args.config_path)))
|
||||||
|
@ -20,7 +20,7 @@ class StrFunction(object):
|
|||||||
|
|
||||||
TMUX_ACTIONS = {
|
TMUX_ACTIONS = {
|
||||||
'source': StrFunction(config.source_tmux_files, 'source'),
|
'source': StrFunction(config.source_tmux_files, 'source'),
|
||||||
'setenv': StrFunction(config.init_environment, 'setenv'),
|
'setenv': StrFunction(config.init_tmux_environment, 'setenv'),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user