mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-19 15:11:21 +00:00
krew: Set KREW_ROOT to $dir\.krew (closes #3784)
If KREW_ROOT is set to $persist_dir\.krew, then every time a krew command is run, the following warning appears: WARNING: To be able to run kubectl plugins, you need to add the "%USERPROFILE%\.krew\bin" directory to your PATH environment variable and restart your shell. This commit fixes this by setting it to $dir\.krew instead.
This commit is contained in:
parent
bfe66e2507
commit
9db229be8b
@ -21,7 +21,7 @@
|
||||
},
|
||||
"env_add_path": ".krew\\bin",
|
||||
"env_set": {
|
||||
"KREW_ROOT": "$persist_dir\\.krew"
|
||||
"KREW_ROOT": "$dir\\.krew"
|
||||
},
|
||||
"persist": ".krew",
|
||||
"checkver": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user