From 7c7f015637d239e1026e813a64356178d87ca3a6 Mon Sep 17 00:00:00 2001 From: yage Date: Tue, 7 May 2024 23:11:21 -0600 Subject: [PATCH] unalias f as well --- plugins/kubectl/driver/kubectl.driver.zsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)'"