Still need to figure out the conditional here

But it's a little better
This commit is contained in:
Benson Chu 2025-01-26 18:25:44 -06:00
parent ff325014f1
commit bea73b48fa

View file

@ -37,8 +37,10 @@ in
source ${bash-drv}/bashrc.sh
# Need to figure out how to conditionally generate this
if [[ -n $(which kubectl) ]]; then
alias k=kubectl
source <(kubectl completion bash | sed s/kubectl/k/g)
fi
'';
};
};