summaryrefslogtreecommitdiffstats
path: root/pkg/commands/os_default_platform.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/os_default_platform.go')
-rw-r--r--pkg/commands/os_default_platform.go11
1 files changed, 6 insertions, 5 deletions
diff --git a/pkg/commands/os_default_platform.go b/pkg/commands/os_default_platform.go
index f106bbd62..7b063417b 100644
--- a/pkg/commands/os_default_platform.go
+++ b/pkg/commands/os_default_platform.go
@@ -8,10 +8,11 @@ import (
func getPlatform() *Platform {
return &Platform{
- os: runtime.GOOS,
- shell: "bash",
- shellArg: "-c",
- escapedQuote: "\"",
- openCommand: "open {{filename}}",
+ os: runtime.GOOS,
+ shell: "bash",
+ shellArg: "-c",
+ escapedQuote: "'",
+ openCommand: "open {{filename}}",
+ fallbackEscapedQuote: "\"",
}
}