Merge branch 'master' of github.com:nvbn/thefuck

This commit is contained in:
nvbn
2015-04-22 23:36:43 +02:00
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ from thefuck.utils import sudo_support
@sudo_support
def match(command, settings):
return ('rm' in command.script
and 'is a directory' in command.stderr)
and 'is a directory' in command.stderr.lower())
@sudo_support