mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-04 10:34:55 +02:00
19 lines
299 B
Go
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}}",
|
|
}
|
|
}
|