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