init - bash its automatically load auto-completion

This commit is contained in:
Septian Dwic
2018-11-21 02:05:19 +07:00
parent 8feebc0aa9
commit 310ee837c9
5 changed files with 8 additions and 22 deletions

View File

@@ -4,6 +4,4 @@ about-plugin 'load jenv, if you are using it'
export JENV_ROOT="$HOME/.jenv"
pathmunge "$JENV_ROOT/bin"
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
[[ -e $JENV_ROOT/completions/jenv.bash ]] && source $JENV_ROOT/completions/jenv.bash
if which jenv > /dev/null; then eval "$(jenv init - bash)"; fi