diff options
author | Randshot <randshot@norealm.xyz> | 2020-07-14 21:57:54 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-07-15 09:41:16 +1000 |
commit | 964e3872c13308ecbd4748448c5d4fbd809ccd46 (patch) | |
tree | c212f87484895810e1cabe33872e34596f990402 /pkg | |
parent | 5dfa26ea8b32c867bb583497bb729de47c4a1c1f (diff) |
revert changes to 'os_default_platform.go' and 'os_windows.go'
Signed-off-by: Randshot <randshot@norealm.xyz>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/commands/os_default_platform.go | 4 | ||||
-rw-r--r-- | pkg/commands/os_windows.go | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkg/commands/os_default_platform.go b/pkg/commands/os_default_platform.go index 9411e69a6..864b1f3c8 100644 --- a/pkg/commands/os_default_platform.go +++ b/pkg/commands/os_default_platform.go @@ -12,9 +12,9 @@ func getPlatform() *Platform { catCmd: "cat", shell: "bash", shellArg: "-c", + escapedQuote: "'", openCommand: "open {{filename}}", openLinkCommand: "open {{link}}", - escapedQuote: `\'`, - fallbackEscapedQuote: `\"`, + fallbackEscapedQuote: "\"", } } diff --git a/pkg/commands/os_windows.go b/pkg/commands/os_windows.go index 74c846912..fcb498db3 100644 --- a/pkg/commands/os_windows.go +++ b/pkg/commands/os_windows.go @@ -7,6 +7,6 @@ func getPlatform() *Platform { shell: "cmd", shellArg: "/c", escapedQuote: `\"`, - fallbackEscapedQuote: `\'`, + fallbackEscapedQuote: "\\'", } } |