1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-21 21:47:32 +02:00
lazygit/pkg/commands/oscommands/os_default_platform.go

20 lines
339 B
Go
Raw Normal View History

// +build !windows
package oscommands
import (
"runtime"
)
func getPlatform() *Platform {
return &Platform{
2021-03-01 23:16:48 +09:00
OS: runtime.GOOS,
CatCmd: []string{"cat"},
2021-03-01 23:16:48 +09:00
Shell: "bash",
ShellArg: "-c",
EscapedQuote: `"`,
OpenCommand: "open {{filename}}",
OpenLinkCommand: "open {{link}}",
}
}