mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-21 12:16:54 +02:00
Also, use the user's shell (from the SHELL env variable) instead of bash. Both of these together allow users to use their shell aliases or shell functions in the interactive command prompt.
12 lines
225 B
Go
12 lines
225 B
Go
package oscommands
|
|
|
|
func GetPlatform() *Platform {
|
|
return &Platform{
|
|
OS: "windows",
|
|
Shell: "cmd",
|
|
InteractiveShell: "cmd",
|
|
ShellArg: "/c",
|
|
InteractiveShellArg: "",
|
|
}
|
|
}
|