mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Add command-exists shell helper
This commit is contained in:
@@ -6,7 +6,7 @@ alias kc="kubectl"
|
||||
alias hl="helm"
|
||||
alias mk="minikube"
|
||||
|
||||
if (( $+commands[kubectl] )); then
|
||||
if command-exists kubectl; then
|
||||
# lazy-load kubectl setup
|
||||
_kubectl() {
|
||||
unset -f _kubectl
|
||||
|
||||
Reference in New Issue
Block a user