summaryrefslogtreecommitdiffstats
path: root/pkg/config/config_linux.go
blob: 1eed335f0dcc4b2e4083b1618c3d4e0c75cf820b (plain)
1
2
3
4
5
6
7
8
9
10
11
package config

// GetPlatformDefaultConfig gets the defaults for the platform
func GetPlatformDefaultConfig() OSConfig {
	return OSConfig{
		Editor:          ``,
		EditCommand:     `{{editor}} {{filename}}`,
		OpenCommand:     `sh -c "xdg-open {{filename}} >/dev/null"`,
		OpenLinkCommand: `sh -c "xdg-open {{link}} >/dev/null"`,
	}
}