def list_all_tmux_configs():
 for (root, dirs, files) in os.walk(TMUX_CONFIG_DIRECTORY):
  dirs[:] = ()
  for fname in files:
   match = CONFIG_FILE_NAME.match(fname)
   if match:
    assert (match.group(u'suffix') is None)
    (yield (os.path.join(root, fname), CONFIG_MATCHERS[match.group(u'mod')], CONFIG_PRIORITY[match.group(u'mod')], TmuxVersionInfo(int(match.group(u'major')), int(match.group(u'minor')), match.group(u'suffix'))))

def list_all_tmux_configs ( ) : for ( root , dirs , files ) in os . walk ( TMUX_CONFIG_DIRECTORY ) : dirs [ : ] = ( ) for fname in files : match = CONFIG_FILE_NAME . match ( fname ) if match : assert ( match . group ( u'suffix' ) is None ) ( yield ( os . path . join ( root , fname ) , CONFIG_MATCHERS [ match . group ( u'mod' ) ] , CONFIG_PRIORITY [ match . group ( u'mod' ) ] , TmuxVersionInfo ( int ( match . group ( u'major' ) ) , int ( match . group ( u'minor' ) ) , match . group ( u'suffix' ) ) ) )
list all version-specific tmux configuration files .