summaryrefslogtreecommitdiffstats
path: root/pkg/commands/oscommands/os_default_platform.go
blob: fd4967d9576ba57e78c81a2475db47c7190776fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//go:build !windows
// +build !windows

package oscommands

import (
	"runtime"
)

func GetPlatform() *Platform {
	return &Platform{
		OS:              runtime.GOOS,
		Shell:           "bash",
		ShellArg:        "-c",
		OpenCommand:     "open {{filename}}",
		OpenLinkCommand: "open {{link}}",
	}
}