github.com/andrewrech/lazygit@v0.8.1/pkg/commands/os_default_platform.go (about)

     1  // +build !windows
     2  
     3  package commands
     4  
     5  import (
     6  	"runtime"
     7  )
     8  
     9  func getPlatform() *Platform {
    10  	return &Platform{
    11  		os:                   runtime.GOOS,
    12  		shell:                "bash",
    13  		shellArg:             "-c",
    14  		escapedQuote:         "'",
    15  		openCommand:          "open {{filename}}",
    16  		openLinkCommand:      "open {{link}}",
    17  		fallbackEscapedQuote: "\"",
    18  	}
    19  }