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

14 lines
399 B
Go
Raw Normal View History

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-10-09 09:32:36 +02:00
OpenCommand: `xdg-open {{filename}} >/dev/null`,
OpenLinkCommand: `xdg-open {{link}} >/dev/null`,
2020-10-03 06:54:55 +02:00
}
2018-09-01 06:33:01 +02:00
}