1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-03-03 15:02:52 +02:00
lazygit/pkg/config/config_linux.go

12 lines
352 B
Go
Raw Normal View History

2018-09-01 14:33:01 +10:00
package config
// GetPlatformDefaultConfig gets the defaults for the platform
2020-10-03 14:54:55 +10:00
func GetPlatformDefaultConfig() OSConfig {
return OSConfig{
2021-08-04 18:43:34 +09:00
EditCommand: ``,
EditCommandTemplate: `{{editor}} {{filename}}`,
OpenCommand: `sh -c "xdg-open {{filename}} >/dev/null"`,
OpenLinkCommand: `sh -c "xdg-open {{link}} >/dev/null"`,
2020-10-03 14:54:55 +10:00
}
2018-09-01 14:33:01 +10:00
}