def deduce_command():
 return (None or check_command(u'powerline') or check_command(os.path.join(POWERLINE_ROOT, u'scripts', u'powerline')) or ((which(u'sh') and which(u'sed') and which(u'socat')) and check_command(os.path.join(POWERLINE_ROOT, u'client', u'powerline.sh'))) or check_command(os.path.join(POWERLINE_ROOT, u'client', u'powerline.py')) or check_command(u'powerline-render') or check_command(os.path.join(POWERLINE_ROOT, u'scripts', u'powerline-render')))

def deduce_command ( ) : return ( None or check_command ( u'powerline' ) or check_command ( os . path . join ( POWERLINE_ROOT , u'scripts' , u'powerline' ) ) or ( ( which ( u'sh' ) and which ( u'sed' ) and which ( u'socat' ) ) and check_command ( os . path . join ( POWERLINE_ROOT , u'client' , u'powerline.sh' ) ) ) or check_command ( os . path . join ( POWERLINE_ROOT , u'client' , u'powerline.py' ) ) or check_command ( u'powerline-render' ) or check_command ( os . path . join ( POWERLINE_ROOT , u'scripts' , u'powerline-render' ) ) )
deduce which command to use for powerline candidates: * powerline .