mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-02-20 01:00:22 +08:00
19 lines
297 B
Go
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}}",
|
|
}
|
|
}
|