def source_tmux_files(pl, args, tmux_version=None, source_tmux_file=source_tmux_file):
 tmux_version = (tmux_version or get_tmux_version(pl))
 source_tmux_file(os.path.join(TMUX_CONFIG_DIRECTORY, u'powerline-base.conf'))
 for (fname, priority) in sorted(get_tmux_configs(tmux_version), key=(lambda v: v[1])):
  source_tmux_file(fname)
 if (not os.environ.get(u'POWERLINE_COMMAND')):
  cmd = deduce_command()
  if cmd:
   set_tmux_environment(u'POWERLINE_COMMAND', deduce_command(), remove=False)
 try:
  run_tmux_command(u'refresh-client')
 except subprocess.CalledProcessError:
  pass

def source_tmux_files ( pl , args , tmux_version = None , source_tmux_file = source_tmux_file ) : tmux_version = ( tmux_version or get_tmux_version ( pl ) ) source_tmux_file ( os . path . join ( TMUX_CONFIG_DIRECTORY , u'powerline-base.conf' ) ) for ( fname , priority ) in sorted ( get_tmux_configs ( tmux_version ) , key = ( lambda v : v [ 1 ] ) ) : source_tmux_file ( fname ) if ( not os . environ . get ( u'POWERLINE_COMMAND' ) ) : cmd = deduce_command ( ) if cmd : set_tmux_environment ( u'POWERLINE_COMMAND' , deduce_command ( ) , remove = False ) try : run_tmux_command ( u'refresh-client' ) except subprocess . CalledProcessError : pass
source relevant version-specific tmux configuration files files are sourced in the following order: * first relevant files with older versions are sourced .