mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Disable oh-my-zsh auto-update prompt when resolving shell environment (#1848)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
75c70a1141
commit
99c8025cb7
@ -120,6 +120,7 @@ export class ShellSession extends EventEmitter {
|
|||||||
if(path.basename(env["PTYSHELL"]) === "zsh") {
|
if(path.basename(env["PTYSHELL"]) === "zsh") {
|
||||||
env["OLD_ZDOTDIR"] = env.ZDOTDIR || env.HOME;
|
env["OLD_ZDOTDIR"] = env.ZDOTDIR || env.HOME;
|
||||||
env["ZDOTDIR"] = this.kubectlBinDir;
|
env["ZDOTDIR"] = this.kubectlBinDir;
|
||||||
|
env["DISABLE_AUTO_UPDATE"] = "true";
|
||||||
}
|
}
|
||||||
|
|
||||||
env["PTYPID"] = process.pid.toString();
|
env["PTYPID"] = process.pid.toString();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user