chore: breaks in osx

pull/7/head
Adam Veldhousen 2021-10-26 13:31:26 -05:00
parent 6441b8f92f
commit e657e1340f
No known key found for this signature in database
GPG Key ID: 2659715981640EFB
1 changed files with 0 additions and 12 deletions

View File

@ -162,15 +162,3 @@ alias kgcj='kubectl get cronjob'
alias kecj='kubectl edit cronjob'
alias kdcj='kubectl describe cronjob'
alias kdelcj='kubectl delete cronjob'
# Only run if the user actually has kubectl installed
if (( ${+_comps[kubectl]} )); then
kj() { kubectl "$@" -o json | jq; }
kjx() { kubectl "$@" -o json | fx; }
ky() { kubectl "$@" -o yaml | yh; }
# this stuff fails on OSX
# compdef kj=kubectl
# compdef kjx=kubectl
# compdef ky=kubectl
fi