mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-14 11:23:09 +02:00
21 lines
394 B
Go
21 lines
394 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}}",
|
||
|
FallbackEscapedQuote: "\"",
|
||
|
}
|
||
|
}
|