Skip to content

Commit

Permalink
Merge pull request #8612 from afbjorklund/gofmt-shell
Browse files Browse the repository at this point in the history
Run gofmt on pkg/minikube/shell/shell.go
  • Loading branch information
medyagh authored Jun 30, 2020
2 parents 4ef26f5 + 4968ff5 commit 8e52b6b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pkg/minikube/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type shellData struct {
}

var shellConfigMap = map[string]shellData{
"fish": shellData{
"fish": {
prefix: "set -gx ",
suffix: "\";\n",
delimiter: " \"",
Expand All @@ -63,7 +63,7 @@ var shellConfigMap = map[string]shellData{
`, s...)
},
},
"powershell": shellData{
"powershell": {
prefix: "$Env:",
suffix: "\"\n",
delimiter: " = \"",
Expand All @@ -76,7 +76,7 @@ var shellConfigMap = map[string]shellData{
`, s...)
},
},
"cmd": shellData{
"cmd": {
prefix: "SET ",
suffix: "\n",
delimiter: "=",
Expand All @@ -89,7 +89,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
`, s...)
},
},
"emacs": shellData{
"emacs": {
prefix: "(setenv \"",
suffix: "\")\n",
delimiter: "\" \"",
Expand All @@ -102,7 +102,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
`, s...)
},
},
"bash": shellData{
"bash": {
prefix: "export ",
suffix: "\"\n",
delimiter: "=\"",
Expand All @@ -116,7 +116,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
`, s...)
},
},
"none": shellData{
"none": {
prefix: "",
suffix: "\n",
delimiter: "=",
Expand Down

0 comments on commit 8e52b6b

Please sign in to comment.