diff --git a/plugins/kubectl/driver/kubectl.driver.zsh b/plugins/kubectl/driver/kubectl.driver.zsh index bad83d3..06118c2 100644 --- a/plugins/kubectl/driver/kubectl.driver.zsh +++ b/plugins/kubectl/driver/kubectl.driver.zsh @@ -1,11 +1,10 @@ [[ $SCWRYPTS_KUBECTL_DRIVER_READY -eq 1 ]] && return 0 -unalias k h >/dev/null 2>&1 +unalias k h f >/dev/null 2>&1 k() { _SCWRYPTS_KUBECTL_DRIVER kubectl $@; } h() { _SCWRYPTS_KUBECTL_DRIVER helm $@; } f() { _SCWRYPTS_KUBECTL_DRIVER flux $@; } - _SCWRYPTS_KUBECTL_DRIVER() { [ ! $SCWRYPTS_ENV ] && { ERROR "must set SCWRYPTS_ENV in order to use '$(echo $CLI | head -c1)'"