1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Edit command as user OS config option

This commit is contained in:
caojoshua
2021-05-19 23:44:58 -07:00
committed by Jesse Duffield
parent cb78cf7de4
commit 60468d2e17
6 changed files with 37 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package config
// GetPlatformDefaultConfig gets the defaults for the platform
func GetPlatformDefaultConfig() OSConfig {
return OSConfig{
EditCommand: ``,
OpenCommand: `sh -c "xdg-open {{filename}} >/dev/null"`,
OpenLinkCommand: `sh -c "xdg-open {{link}} >/dev/null"`,
}