create directory for completions;

add kind completion when kind is installed
This commit is contained in:
Philip Henning 2022-02-15 20:07:53 +01:00
parent d35ce3fbc2
commit f449a2d53f
2 changed files with 4 additions and 0 deletions

View file

@ -160,6 +160,9 @@ if [ -f "{{@@ env['HOME'] @@}}/.local/bin/pipx" ]; then
eval "$(register-python-argcomplete pipx)"
fi
# Add kind completions
[[ $(command -v kind) ]] && kind completion zsh > ${ZSH_CUSTOM:-{{@@ env['HOME'] @@}}/.oh-my-zsh/custom}/completions/_kind
{%@@ if profile == 'VWAGWOY00349' @@%}
# Decide which homebrew installation (x64_86 / arm64) should be used
if [ "$(sysctl -n sysctl.proc_translated)" = "1" ]; then