1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

Merge pull request #423 from MattKotsenas/bugfix/cd_mkdir

Add Windows error message support to cd_mkdir rule
This commit is contained in:
Vladimir Iakovlev 2016-01-06 03:34:03 +03:00
commit 1b12cd85e9

View File

@ -8,7 +8,8 @@ from thefuck.specific.sudo import sudo_support
@for_app('cd')
def match(command):
return (('no such file or directory' in command.stderr.lower()
or 'cd: can\'t cd to' in command.stderr.lower()))
or 'cd: can\'t cd to' in command.stderr.lower()
or 'the system cannot find the path specified.' in command.stderr.lower()))
@sudo_support