Move eval in bash completions
This commit is contained in:
parent
eabc6cd190
commit
4b6213bf54
@ -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 }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user