mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-12-04 21:00:58 +02:00
Cleanup zshrc k8s krew config
This commit is contained in:
parent
f5dc53aa6d
commit
08e0456290
14
.zshrc
14
.zshrc
@ -251,19 +251,27 @@ else
|
|||||||
ruby_gem_user_dir=''
|
ruby_gem_user_dir=''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# kubectl plugin manager Krew
|
||||||
|
export KREW_ROOT="~/.config/krew"
|
||||||
|
if [[ -d "${KREW_ROOT}/bin" ]]; then
|
||||||
|
krew_bin_path="${KREW_ROOT}/bin"
|
||||||
|
else
|
||||||
|
krew_bin_path=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# ZSH allows $PATH to be used as an array
|
# ZSH allows $PATH to be used as an array
|
||||||
path=(
|
path=(
|
||||||
~/.bin
|
~/.bin
|
||||||
~/.local/bin
|
~/.local/bin
|
||||||
|
${ruby_gem_user_dir}
|
||||||
|
${krew_bin_path}
|
||||||
/usr/bin/site_perl
|
/usr/bin/site_perl
|
||||||
/usr/bin/vendor_perl
|
/usr/bin/vendor_perl
|
||||||
/usr/bin/core_perl
|
/usr/bin/core_perl
|
||||||
"${ruby_gem_user_dir}"
|
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
|
|
||||||
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
|
||||||
|
|
||||||
HISTSIZE=100000
|
HISTSIZE=100000
|
||||||
SAVEHIST=100000
|
SAVEHIST=100000
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user