jesseduffield_lazydocker/pkg/commands/os_default_platform.go
2022-12-01 19:04:29 +11:00

19 lines
297 B
Go

//go:build !windows
// +build !windows
package commands
import (
"runtime"
)
func getPlatform() *Platform {
return &Platform{
os: runtime.GOOS,
shell: "bash",
shellArg: "-c",
openCommand: "open {{filename}}",
openLinkCommand: "open {{link}}",
}
}