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

package config

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