mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-07 05:31:18 +00:00
sry edit is false
This commit is contained in:
parent
8ff2336293
commit
46439e0ee4
@ -30,11 +30,8 @@ def _get_operations():
|
||||
|
||||
@sudo_support
|
||||
def get_new_command(command):
|
||||
if misspelled_command == 'uninstall':
|
||||
return [command.script.replace('uninstall','remove')
|
||||
else:
|
||||
misspelled_command = regex.findall(command.output)[0]
|
||||
return replace_command(command, misspelled_command, _get_operations())
|
||||
misspelled_command = regex.findall(command.output)[0]
|
||||
return replace_command(command, misspelled_command, _get_operations())
|
||||
|
||||
|
||||
enabled_by_default = dnf_available
|
||||
|
Loading…
x
Reference in New Issue
Block a user