mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-14 11:23:09 +02:00
20 lines
329 B
Go
20 lines
329 B
Go
// +build !windows
|
|
|
|
package oscommands
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
func getPlatform() *Platform {
|
|
return &Platform{
|
|
OS: runtime.GOOS,
|
|
CatCmd: "cat",
|
|
Shell: "bash",
|
|
ShellArg: "-c",
|
|
EscapedQuote: `"`,
|
|
OpenCommand: "open {{filename}}",
|
|
OpenLinkCommand: "open {{link}}",
|
|
}
|
|
}
|