Compare commits
No commits in common. "c9411bb43d97429e565923e6a77a059a51776f8d" and "7f3f24e14dab287f3136d564be7080f53f877ba1" have entirely different histories.
c9411bb43d
...
7f3f24e14d
@ -1,16 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if (command -v kubectl &>/dev/null); then
|
if (command -v kubectl &> /dev/null)
|
||||||
|
then
|
||||||
|
|
||||||
# create some usefull aliases
|
# create a quick alias
|
||||||
alias k="kubectl"
|
alias k=kubectl
|
||||||
alias kg="kubectl get"
|
alias ks="kubectl --namespace kube-system"
|
||||||
alias kd="kubectl describe"
|
|
||||||
alias ks="kubectl --namespace kube-system"
|
|
||||||
alias kga="kubectl get --all-namespaces"
|
|
||||||
|
|
||||||
# add completion for the alias as well
|
# add completion for the alias as well
|
||||||
complete -o default -F __start_kubectl k
|
complete -o default -F __start_kubectl k
|
||||||
complete -o default -F __start_kubectl ks
|
complete -o default -F __start_kubectl ks
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if (command -v mise &>/dev/null); then
|
|
||||||
source <(mise completion bash)
|
|
||||||
fi
|
|
@ -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
|
|
@ -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
12
rc.d/asdf
Normal 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
|
Loading…
Reference in New Issue
Block a user