mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 09:39:01 +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
|
@sudo_support
|
||||||
@for_app('apt')
|
@for_app('apt')
|
||||||
def match(command):
|
def match(command):
|
||||||
return "Run 'apt list --upgradable' to see them." in command.output
|
return 'apt list --upgradable' in command.output
|
||||||
|
|
||||||
|
|
||||||
@sudo_support
|
@sudo_support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user