#NEWLINE# def app_alias( self , alias_name ) : #NEWLINE# #INDENT# alias = "alias {0}='TF_CMD=$(TF_ALIAS={0} PYTHONIOENCODING=utf-8 TF_SHELL_ALIASES=$(alias) thefuck $(fc -ln -1 | tail -n 1)) && eval $TF_CMD" . format ( alias_name ) #NEWLINE# if settings . alter_history : #NEWLINE# #INDENT# return ( alias + " && print -s $TF_CMD'" ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ( alias + "'" )