1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-20 20:09:07 +00:00

Add other flavors of open command

This commit is contained in:
mcarton 2015-06-26 11:35:57 +02:00
parent ef504b6436
commit ab55c1cccb

View File

@ -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