summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os_default_platform.go
diff options
context:
space:
mode:
authorKristijan Husak <husakkristijan@gmail.com>2018-10-17 14:20:15 +0200
committerKristijan Husak <husakkristijan@gmail.com>2018-10-20 11:58:08 +0200
commit990dc8c4ea1133a58d5c863abd543ee5cde1e700 (patch)
tree80cee673655645b82f7d76d2cc2be409c16c1c8e /pkg/commands/os_default_platform.go
parentc69fce2e9d28dc847ad5a4528b99682fe61762af (diff)
Add separate open command for links and check if branch exists on remote before opening pull request link.
Diffstat (limited to 'pkg/commands/os_default_platform.go')
-rw-r--r--pkg/commands/os_default_platform.go1
1 files changed, 1 insertions, 0 deletions
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: "\"",
}
}