mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Source the zsh autocompletion script in rbenv-init
This commit is contained in:
parent
3cd08f7c09
commit
b45bce80ca
2 changed files with 5 additions and 3 deletions
|
@ -55,8 +55,10 @@ mkdir -p "${HOME}/.rbenv/"{shims,versions}
|
||||||
|
|
||||||
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
|
echo 'export PATH="${HOME}/.rbenv/shims:${PATH}"'
|
||||||
|
|
||||||
if [ "$shell" = "bash" ]; then
|
case "$shell" in
|
||||||
echo "source \"$root/completions/rbenv.bash\""
|
bash | zsh )
|
||||||
fi
|
echo "source \"$root/completions/rbenv.${shell}\""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
echo 'rbenv rehash 2>/dev/null'
|
echo 'rbenv rehash 2>/dev/null'
|
||||||
|
|
Loading…
Reference in a new issue