Move eval in bash completions

main
Buddy Sandidge 2 years ago
parent eabc6cd190
commit 4b6213bf54

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

Loading…
Cancel
Save