mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Add indexing the rvm sources
This commit is contained in:
parent
df5b09e20b
commit
f6a5776eeb
1 changed files with 7 additions and 0 deletions
|
|
@ -72,3 +72,10 @@ function _rvm_completion {
|
||||||
source $rvm_path"/scripts/zsh/Completion/_rvm"
|
source $rvm_path"/scripts/zsh/Completion/_rvm"
|
||||||
}
|
}
|
||||||
compdef _rvm_completion rvm
|
compdef _rvm_completion rvm
|
||||||
|
|
||||||
|
# Register the rvm sources.
|
||||||
|
if [ -f ~/.rvm/scripts/rvm ]; then
|
||||||
|
source ~/.rvm/scripts/rvm
|
||||||
|
elif [ -f /usr/local/rvm/scripts/rvm ]; then
|
||||||
|
source /usr/local/rvm/scripts/rvm
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue