mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
move OS commands into their own package
This commit is contained in:
12
pkg/commands/oscommands/os_windows.go
Normal file
12
pkg/commands/oscommands/os_windows.go
Normal file
@ -0,0 +1,12 @@
|
||||
package oscommands
|
||||
|
||||
func getPlatform() *Platform {
|
||||
return &Platform{
|
||||
os: "windows",
|
||||
catCmd: "type",
|
||||
shell: "cmd",
|
||||
shellArg: "/c",
|
||||
escapedQuote: `\"`,
|
||||
FallbackEscapedQuote: "\\'",
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user