mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
Add kubectx to install_tool.
This commit is contained in:
@@ -433,6 +433,15 @@ EOF
|
||||
kubeconform)
|
||||
go install github.com/yannh/kubeconform/cmd/kubeconform@latest
|
||||
;;
|
||||
kubectx)
|
||||
git clone https://github.com/ahmetb/kubectx.git "${DESTDIR}"
|
||||
add_bin_symlink kubectx
|
||||
add_bin_symlink kubens
|
||||
COMPDIR="${HOME}/.zshrc.completions"
|
||||
mkdir -p "${COMPDIR}"
|
||||
ln -sf "${DESTDIR}/completion/_kubectx.zsh" "${COMPDIR}"
|
||||
ln -sf "${DESTDIR}/completion/_kubens.zsh" "${COMPDIR}"
|
||||
;;
|
||||
starship)
|
||||
mkdir -p ${DESTDIR}
|
||||
download \
|
||||
|
||||
Reference in New Issue
Block a user