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

19 lines
299 B
Go
Raw Normal View History

2021-09-16 21:38:43 +08:00
//go:build !windows
// +build !windows
package oscommands
import (
"runtime"
)
2022-01-03 15:15:26 +11:00
func GetPlatform() *Platform {
return &Platform{
2021-03-01 23:16:48 +09:00
OS: runtime.GOOS,
Shell: "bash",
ShellArg: "-c",
OpenCommand: "open {{filename}}",
OpenLinkCommand: "open {{link}}",
}
}