24 lines
423 B
Bash
24 lines
423 B
Bash
function _src {
|
|
[ -f $1 ] && source $1
|
|
}
|
|
|
|
# Bash
|
|
_src /etc/bash_completion
|
|
|
|
# Bazel
|
|
_src /usr/local/lib/bazel/bin/bazel-complete.bash
|
|
|
|
# Rust
|
|
_src /usr/local/etc/bash_completion.d/cargo
|
|
|
|
# fzf
|
|
_src /usr/share/fzf/completion.bash
|
|
_src /usr/share/fzf/key-bindings.bash
|
|
|
|
# Kubernetes
|
|
source <(kubectl completion bash)
|
|
source <(kops completion bash)
|
|
|
|
# kops
|
|
[ -f $HOME/bin/kops ] && source <($HOME/bin/kops completion bash)
|
|
|