1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-13 01:30:53 +02:00

fix issue #640 add catCmd and OS-specific values

Add a catCmd to the Platform struct and set the value to "cat" for
non-windows builds and "type" for windows builds.
This commit is contained in:
Tyler Davis
2020-04-25 03:32:59 +00:00
committed by Jesse Duffield
parent 42d21c4bb6
commit b5404c6159
5 changed files with 14 additions and 3 deletions

View File

@ -23,6 +23,7 @@ import (
// Platform stores the os state
type Platform struct {
os string
catCmd string
shell string
shellArg string
escapedQuote string