We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 126b8cf + e1a7b22 commit f52a682Copy full SHA for f52a682
pkg/minikube/shell/shell.go
@@ -124,10 +124,7 @@ REM @FOR /f "tokens=*" %%i IN ('%s') DO @%%i
124
unsetSuffix: "\n",
125
unsetDelimiter: "",
126
usageHint: func(s ...interface{}) string {
127
- return fmt.Sprintf(`
128
-# %s
129
-# eval $(%s)
130
-`, s...)
+ return ""
131
},
132
133
}
pkg/minikube/shell/shell_test.go
@@ -40,8 +40,7 @@ func TestGenerateUsageHint(t *testing.T) {
40
;; (with-temp-buffer (shell-command "bar" (current-buffer)) (eval-buffer))`},
41
{EnvConfig{"fish"}, `# foo
42
# bar | source`},
43
- {EnvConfig{"none"}, `# foo
44
-# eval $(bar)`},
+ {EnvConfig{"none"}, ``},
45
46
for _, tc := range testCases {
47
tc := tc
0 commit comments