feat(mise): add eksctl to control eks cluster

This commit is contained in:
2024-06-05 12:47:07 +00:00
parent f2d96625d0
commit ff011f2d66
3 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ if [ ! -d ${LOCAL_SRC_HOME}/elixir-ls/release ]; then
fi
# NOTE: (jpd) create auto-completion
# TODO: (jpd) check a way to create a list and loop to create these completions
if [ ! -d ${XDG_CONFIG_HOME}/fish/completions/kubectl.fish ]; then
echo "setup kubectl completion"
kubectl completion fish > ${XDG_CONFIG_HOME}/fish/completions/kubectl.fish
@@ -30,5 +31,9 @@ if [ ! -d ${XDG_CONFIG_HOME}/fish/completions/ctlptl.fish ]; then
echo "setup ctlptl completion"
ctlptl completion fish > ~/.config/fish/completions/ctlptl.fish
fi
if [ ! -d ${XDG_CONFIG_HOME}/fish/completions/eksctl.fish ]; then
echo "setup eksctl completion"
eksctl completion fish > ~/.config/fish/completions/eksctl.fish
fi
exec "$@"