diff --git a/kitty/utils.py b/kitty/utils.py index f47a4eb8d..b5985593a 100644 --- a/kitty/utils.py +++ b/kitty/utils.py @@ -115,6 +115,8 @@ def command_for_open(program='default'): program = to_cmdline(program) if program == ['default']: cmd = ['open'] if is_macos else ['xdg-open'] + else: + cmd = program return cmd