#614: Add --repeat option

This commit is contained in:
Vladimir Iakovlev
2017-03-28 18:09:38 +02:00
parent c3eca8234a
commit cfa831c88d
15 changed files with 97 additions and 29 deletions
+3
View File
@@ -66,6 +66,9 @@ class Fish(Generic):
def and_(self, *commands):
return u'; and '.join(commands)
def or_(self, *commands):
return u'; or '.join(commands)
def how_to_configure(self):
return self._create_shell_configuration(
content=u"eval (thefuck --alias | tr '\n' ';')",
+3
View File
@@ -66,6 +66,9 @@ class Generic(object):
def and_(self, *commands):
return u' && '.join(commands)
def or_(self, *commands):
return u' || '.join(commands)
def how_to_configure(self):
return