From 990dc8c4ea1133a58d5c863abd543ee5cde1e700 Mon Sep 17 00:00:00 2001 From: Kristijan Husak Date: Wed, 17 Oct 2018 14:20:15 +0200 Subject: Add separate open command for links and check if branch exists on remote before opening pull request link. --- pkg/commands/os_default_platform.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/commands/os_default_platform.go') diff --git a/pkg/commands/os_default_platform.go b/pkg/commands/os_default_platform.go index 7b063417b..73e453b6b 100644 --- a/pkg/commands/os_default_platform.go +++ b/pkg/commands/os_default_platform.go @@ -13,6 +13,7 @@ func getPlatform() *Platform { shellArg: "-c", escapedQuote: "'", openCommand: "open {{filename}}", + openLinkCommand: "open {{link}}", fallbackEscapedQuote: "\"", } } -- cgit v1.2.3