summaryrefslogtreecommitdiffstats
path: root/pkg/config/config_default_platform.go
blob: 32b76cbf08f43af33ea0929e0af3b9df0b814909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//go:build !windows && !linux
// +build !windows,!linux

package config

const DefaultEditCommandTemplate = `{{editor}} {{filename}}`

// GetPlatformDefaultConfig gets the defaults for the platform
func GetPlatformDefaultConfig() OSConfig {
	return OSConfig{
		EditCommand:         ``,
		EditCommandTemplate: DefaultEditCommandTemplate,
		OpenCommand:         "open {{filename}}",
		OpenLinkCommand:     "open {{link}}",
	}
}