mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-04 23:37:41 +02:00
apply gofumpt
This commit is contained in:
parent
4d54b3801f
commit
1eb47deae4
@ -12,13 +12,12 @@ func isWSL() bool {
|
|||||||
|
|
||||||
// GetPlatformDefaultConfig gets the defaults for the platform
|
// GetPlatformDefaultConfig gets the defaults for the platform
|
||||||
func GetPlatformDefaultConfig() OSConfig {
|
func GetPlatformDefaultConfig() OSConfig {
|
||||||
|
|
||||||
if isWSL() {
|
if isWSL() {
|
||||||
return OSConfig{
|
return OSConfig{
|
||||||
EditCommand: ``,
|
EditCommand: ``,
|
||||||
EditCommandTemplate: "",
|
EditCommandTemplate: "",
|
||||||
OpenCommand: `powershell.exe start explorer.exe {{filename}} >/dev/null`,
|
OpenCommand: `powershell.exe start explorer.exe {{filename}} >/dev/null`,
|
||||||
OpenLinkCommand: `powershell.exe start {{link}} >/dev/null`,
|
OpenLinkCommand: `powershell.exe start {{link}} >/dev/null`,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user