mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Await kubeconfigPathP for fish shell args
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
803c3a3d34
commit
0bb7dc0d0f
1 file changed
+1
-1
@@ -51,7 +51,7 @@ export class LocalShellSession extends ShellSession {
|
|||||||
case "bash":
|
case "bash":
|
||||||
return ["--init-file", path.join(await this.kubectlBinDirP, ".bash_set_path")];
|
return ["--init-file", path.join(await this.kubectlBinDirP, ".bash_set_path")];
|
||||||
case "fish":
|
case "fish":
|
||||||
return ["--login", "--init-command", `export PATH="${helmpath}:${kubectlPathDir}:$PATH"; export KUBECONFIG="${this.kubeconfigPathP}"`];
|
return ["--login", "--init-command", `export PATH="${helmpath}:${kubectlPathDir}:$PATH"; export KUBECONFIG="${await this.kubeconfigPathP}"`];
|
||||||
case "zsh":
|
case "zsh":
|
||||||
return ["--login"];
|
return ["--login"];
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in new issue
Block a user