Add tests for tcsh, fix tcsh alias
This commit is contained in:
+1
-1
@@ -194,7 +194,7 @@ class Tcsh(Generic):
|
||||
def app_alias(self, fuck):
|
||||
return ("alias {0} 'setenv TF_ALIAS {0} && "
|
||||
"set fucked_cmd=`history -h 2 | head -n 1` && "
|
||||
"eval `thefuck ${fucked_cmd}`'").format(fuck)
|
||||
"eval `thefuck ${{fucked_cmd}}`'").format(fuck)
|
||||
|
||||
def _parse_alias(self, alias):
|
||||
name, value = alias.split("\t", 1)
|
||||
|
||||
Reference in New Issue
Block a user