mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add kubectx to install_tool.
This commit is contained in:
@@ -433,6 +433,15 @@ EOF
|
|||||||
kubeconform)
|
kubeconform)
|
||||||
go install github.com/yannh/kubeconform/cmd/kubeconform@latest
|
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)
|
starship)
|
||||||
mkdir -p ${DESTDIR}
|
mkdir -p ${DESTDIR}
|
||||||
download \
|
download \
|
||||||
|
|||||||
Reference in New Issue
Block a user