1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/pkg/commands/oscommands/os_default_platform.go
Jesse Duffield 95b2e9540a update tests
2022-01-04 09:07:15 +11:00

19 lines
299 B
Go

//go:build !windows
// +build !windows
package oscommands
import (
"runtime"
)
func GetPlatform() *Platform {
return &Platform{
OS: runtime.GOOS,
Shell: "bash",
ShellArg: "-c",
OpenCommand: "open {{filename}}",
OpenLinkCommand: "open {{link}}",
}
}