lazydocker/pkg/commands/os_default_platform.go
2022-06-18 13:33:51 +10:00

20 lines
381 B
Go

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