unalias f as well
This commit is contained in:
parent
4146a0d297
commit
7c7f015637
@ -1,11 +1,10 @@
|
|||||||
[[ $SCWRYPTS_KUBECTL_DRIVER_READY -eq 1 ]] && return 0
|
[[ $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 $@; }
|
k() { _SCWRYPTS_KUBECTL_DRIVER kubectl $@; }
|
||||||
h() { _SCWRYPTS_KUBECTL_DRIVER helm $@; }
|
h() { _SCWRYPTS_KUBECTL_DRIVER helm $@; }
|
||||||
f() { _SCWRYPTS_KUBECTL_DRIVER flux $@; }
|
f() { _SCWRYPTS_KUBECTL_DRIVER flux $@; }
|
||||||
|
|
||||||
|
|
||||||
_SCWRYPTS_KUBECTL_DRIVER() {
|
_SCWRYPTS_KUBECTL_DRIVER() {
|
||||||
[ ! $SCWRYPTS_ENV ] && {
|
[ ! $SCWRYPTS_ENV ] && {
|
||||||
ERROR "must set SCWRYPTS_ENV in order to use '$(echo $CLI | head -c1)'"
|
ERROR "must set SCWRYPTS_ENV in order to use '$(echo $CLI | head -c1)'"
|
||||||
|
Loading…
Reference in New Issue
Block a user