1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-13 22:28:33 +00:00

Merge branch 'master' of git://github.com/NabeelValapra/thefuck into NabeelValapra-master

This commit is contained in:
nvbn 2015-04-20 21:54:29 +02:00
commit 3665a23b9a

View File

@ -0,0 +1,10 @@
def match(command, settings):
if 'cp: omitting directory' in command.stderr.lower():
return True
return False
def get_new_command(command, settings):
return command.script.replace('cp', 'cp -r')