mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-30 09:16:47 +02:00
20 lines
361 B
Go
20 lines
361 B
Go
// +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: "\"",
|
|
}
|
|
}
|