mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
14 lines
399 B
Go
14 lines
399 B
Go
package config
|
|
|
|
const DefaultEditCommandTemplate = `{{editor}} {{filename}}`
|
|
|
|
// GetPlatformDefaultConfig gets the defaults for the platform
|
|
func GetPlatformDefaultConfig() OSConfig {
|
|
return OSConfig{
|
|
EditCommand: ``,
|
|
EditCommandTemplate: DefaultEditCommandTemplate,
|
|
OpenCommand: `xdg-open {{filename}} >/dev/null`,
|
|
OpenLinkCommand: `xdg-open {{link}} >/dev/null`,
|
|
}
|
|
}
|