mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
964e3872c1
Signed-off-by: Randshot <randshot@norealm.xyz>
21 lines
392 B
Go
21 lines
392 B
Go
// +build !windows
|
|
|
|
package commands
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
func getPlatform() *Platform {
|
|
return &Platform{
|
|
os: runtime.GOOS,
|
|
catCmd: "cat",
|
|
shell: "bash",
|
|
shellArg: "-c",
|
|
escapedQuote: "'",
|
|
openCommand: "open {{filename}}",
|
|
openLinkCommand: "open {{link}}",
|
|
fallbackEscapedQuote: "\"",
|
|
}
|
|
}
|