Merge e54ff39b59 into 62e0767c50
This commit is contained in:
commit
dc1f0039b1
|
|
@ -0,0 +1,9 @@
|
|||
from thefuck.utils import for_app
|
||||
|
||||
@for_app('apt-get')
|
||||
def match(command):
|
||||
return 'Do you want to continue?' in command.output
|
||||
|
||||
def get_new_command(command):
|
||||
new_command = command.script.replace('apt-get', 'apt-get -y')
|
||||
return new_command
|
||||
Loading…
Reference in New Issue