2021-09-16 15:38:43 +02:00
|
|
|
//go:build !windows && !linux
|
2018-09-01 06:38:30 +02:00
|
|
|
// +build !windows,!linux
|
2018-09-01 06:33:01 +02:00
|
|
|
|
|
|
|
package config
|
|
|
|
|
2022-03-16 10:46:02 +02:00
|
|
|
const DefaultEditCommandTemplate = `{{editor}} {{filename}}`
|
|
|
|
|
2018-09-01 06:33:01 +02:00
|
|
|
// GetPlatformDefaultConfig gets the defaults for the platform
|
2020-10-03 06:54:55 +02:00
|
|
|
func GetPlatformDefaultConfig() OSConfig {
|
|
|
|
return OSConfig{
|
2021-08-04 11:43:34 +02:00
|
|
|
EditCommand: ``,
|
2022-03-16 10:46:02 +02:00
|
|
|
EditCommandTemplate: DefaultEditCommandTemplate,
|
2021-08-04 11:43:34 +02:00
|
|
|
OpenCommand: "open {{filename}}",
|
|
|
|
OpenLinkCommand: "open {{link}}",
|
2020-10-03 06:54:55 +02:00
|
|
|
}
|
2018-09-01 06:33:01 +02:00
|
|
|
}
|