From ab55c1cccb24901d369eb9182fe15f91f9cff91d Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 26 Jun 2015 11:35:57 +0200 Subject: [PATCH] Add other flavors of open command --- thefuck/rules/open.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/open.py b/thefuck/rules/open.py index 204641fd..756f2884 100644 --- a/thefuck/rules/open.py +++ b/thefuck/rules/open.py @@ -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