mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
Add other flavors of open command
This commit is contained in:
parent
ef504b6436
commit
ab55c1cccb
@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
def match(command, settings):
|
||||
return (command.script.startswith('open')
|
||||
return (command.script.startswith(('open', 'xdg-open', 'gnome-open', 'kde-open'))
|
||||
and (
|
||||
'.com' in command.script
|
||||
or '.net' in command.script
|
||||
|
Loading…
x
Reference in New Issue
Block a user