def print_alias():
 try:
  alias = sys.argv[2]
 except IndexError:
  alias = get_alias()
 print shell.app_alias(alias)

def print_alias ( ) : try : alias = sys . argv [ 2 ] except IndexError : alias = get_alias ( ) print shell . app_alias ( alias )
prints alias for current shell .