1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-29 22:48:24 +02:00

refactor: move fallback to platform struct

Co-authored-by: Jesse Duffield <jessedduffield@gmail.com>
This commit is contained in:
Sascha Andres
2018-09-10 10:31:15 +02:00
parent 74144e3892
commit bb9698810d
4 changed files with 22 additions and 22 deletions

View File

@@ -2,9 +2,10 @@ package commands
func getPlatform() *Platform {
return &Platform{
os: "windows",
shell: "cmd",
shellArg: "/c",
escapedQuote: `\"`,
os: "windows",
shell: "cmd",
shellArg: "/c",
escapedQuote: `\"`,
fallbackEscapedQuote: "\\'",
}
}