diff --git a/dot_config/bash/bashrc.d/completion.sh.tmpl b/dot_config/bash/bashrc.d/completion.sh.tmpl index aae88d8..ebd76a8 100644 --- a/dot_config/bash/bashrc.d/completion.sh.tmpl +++ b/dot_config/bash/bashrc.d/completion.sh.tmpl @@ -25,14 +25,6 @@ if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then fi #{{ end -}} -#{{ if lookPath "direnv" -}} -eval "$(direnv hook bash)" -#{{ end -}} - -#{{ if lookPath "erd" -}} -eval "$(erd --completions bash)" -#{{ end -}} - #{{ if lookPath "helm" -}} source <(helm completion bash) #{{ end -}} @@ -45,6 +37,14 @@ source <(kubectl completion bash) source <(starship init bash) #{{ end -}} +#{{ if lookPath "direnv" -}} +eval "$(direnv hook bash)" +#{{ end -}} + +#{{ if lookPath "erd" -}} +eval "$(erd --completions bash)" +#{{ end -}} + #{{ if lookPath "trubka" -}} eval "$(trubka --completion-script-bash)" #{{ end -}} @@ -59,4 +59,4 @@ fi if [[ ! "${PATH}" =~ ${HOME}/.rvm/bin ]]; then export PATH="$PATH:$HOME/.rvm/bin" fi -#{{ end -}} +#{{- end }}