diff --git a/src/main/shell-session/shell-session.ts b/src/main/shell-session/shell-session.ts index b3710aab70..37c948f6f6 100644 --- a/src/main/shell-session/shell-session.ts +++ b/src/main/shell-session/shell-session.ts @@ -143,7 +143,7 @@ export abstract class ShellSession { if (path.basename(env.PTYSHELL) === "zsh") { env.OLD_ZDOTDIR = env.ZDOTDIR || env.HOME; - env.ZDOTDIR = this.kubectlBinDirP; + env.ZDOTDIR = await this.kubectlBinDirP; env.DISABLE_AUTO_UPDATE = "true"; }