mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-06 03:53:59 +02:00
16 lines
261 B
Go
16 lines
261 B
Go
package commands
|
|
|
|
import (
|
|
"runtime"
|
|
)
|
|
|
|
func getPlatform() *Platform {
|
|
return &Platform{
|
|
os: runtime.GOOS,
|
|
shell: "bash",
|
|
shellArg: "-c",
|
|
escapedQuote: "\"",
|
|
openCommand: "bash -c \"xdg-open {{filename}} &>/dev/null &\"",
|
|
}
|
|
}
|