mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
fix: improve default editCommandTemplate
This commit is contained in:
@ -1,12 +1,10 @@
|
||||
package config
|
||||
|
||||
const DefaultEditCommandTemplate = `{{editor}} {{filename}}`
|
||||
|
||||
// GetPlatformDefaultConfig gets the defaults for the platform
|
||||
func GetPlatformDefaultConfig() OSConfig {
|
||||
return OSConfig{
|
||||
EditCommand: ``,
|
||||
EditCommandTemplate: DefaultEditCommandTemplate,
|
||||
EditCommandTemplate: "",
|
||||
OpenCommand: `xdg-open {{filename}} >/dev/null`,
|
||||
OpenLinkCommand: `xdg-open {{link}} >/dev/null`,
|
||||
}
|
||||
|
Reference in New Issue
Block a user