1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/config/config_default_platform.go

17 lines
426 B
Go
Raw Normal View History

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
}