mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 15:11:02 +00:00
20 lines
381 B
Go
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: "\"",
|
|
}
|
|
}
|