mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 14:48:49 +00:00
Only consider raw command in output match
... else it will not work for localized messages. Example German output: ``` Führen Sie »apt list --upgradable« aus, um sie anzuzeigen. ```
This commit is contained in:
parent
01a5ba99d0
commit
3015a0818f
@ -8,7 +8,7 @@ enabled_by_default = apt_available
|
||||
@sudo_support
|
||||
@for_app('apt')
|
||||
def match(command):
|
||||
return "Run 'apt list --upgradable' to see them." in command.output
|
||||
return 'apt list --upgradable' in command.output
|
||||
|
||||
|
||||
@sudo_support
|
||||
|
Loading…
x
Reference in New Issue
Block a user