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
2022-03-16 19:55:58 +11:00

17 lines
426 B
Go

//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}}",
}
}