mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 07:01:10 +00: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}"'
|
||||
|
||||
if [ "$shell" = "bash" ]; then
|
||||
echo "source \"$root/completions/rbenv.bash\""
|
||||
fi
|
||||
case "$shell" in
|
||||
bash | zsh )
|
||||
echo "source \"$root/completions/rbenv.${shell}\""
|
||||
;;
|
||||
esac
|
||||
|
||||
echo 'rbenv rehash 2>/dev/null'
|
||||
|
|
Loading…
Reference in a new issue