remove function wrapper around kubectl alias registration

This commit is contained in:
cornfeedhobo
2022-09-30 11:29:35 -05:00
parent 1c9cfd056b
commit 5f59cb5438

View File

@@ -1,7 +1,6 @@
# shellcheck shell=bash
about-alias 'kubectl aliases'
function _set_pkg_aliases() {
if _command_exists kubectl; then
alias kc='kubectl'
alias kcgp='kubectl get pods'
@@ -15,6 +14,3 @@ function _set_pkg_aliases() {
# launches a disposable netshoot pod in the k8s cluster
alias kcnetshoot='kubectl run netshoot-$(date +%s) --rm -i --tty --image nicolaka/netshoot -- /bin/bash'
fi
}
_set_pkg_aliases