Compare commits

..

No commits in common. "c9411bb43d97429e565923e6a77a059a51776f8d" and "7f3f24e14dab287f3136d564be7080f53f877ba1" have entirely different histories.

6 changed files with 20 additions and 31 deletions

View File

@ -1,16 +1,14 @@
#!/bin/bash
if (command -v kubectl &>/dev/null); then
if (command -v kubectl &> /dev/null)
then
# create some usefull aliases
alias k="kubectl"
alias kg="kubectl get"
alias kd="kubectl describe"
alias ks="kubectl --namespace kube-system"
alias kga="kubectl get --all-namespaces"
# create a quick alias
alias k=kubectl
alias ks="kubectl --namespace kube-system"
# add completion for the alias as well
complete -o default -F __start_kubectl k
complete -o default -F __start_kubectl ks
# add completion for the alias as well
complete -o default -F __start_kubectl k
complete -o default -F __start_kubectl ks
fi

View File

@ -1,5 +0,0 @@
#!/bin/bash
if (command -v mise &>/dev/null); then
source <(mise completion bash)
fi

View File

@ -1,11 +0,0 @@
#!/bin/bash
if [ -f ~/.asdf/asdf.sh ]; then
# activate asdf
source ~/.asdf/asdf.sh
# activate completion
source ~/.asdf/completions/asdf.bash
fi

View File

@ -1,5 +0,0 @@
#!/bin/bash
if (command -v krew &>/dev/null); then
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
fi

12
rc.d/asdf Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
if [ -f ~/.asdf/asdf.sh ]
then
# activate asdf
source ~/.asdf/asdf.sh
# activate completion
source ~/.asdf/completions/asdf.bash
fi