You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// +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: "\"",
|
|
}
|
|
}
|