Merge aafdd1a5c0 into 62e0767c50
This commit is contained in:
commit
95d1925edb
|
|
@ -0,0 +1,11 @@
|
|||
import os
|
||||
from thefuck.utils import for_app
|
||||
|
||||
@for_app('uninstall', at_least=1)
|
||||
def match(command):
|
||||
return (
|
||||
command.output.startswith('uninstall: ')and
|
||||
'command not found' incommand output
|
||||
)
|
||||
def get_new_command(command):
|
||||
return command.script.replace('uninstall','rm',1)
|
||||
Loading…
Reference in New Issue