mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Removed completions managed by zsh-completions.
This commit is contained in:
parent
15ed7860f3
commit
3dbc808b96
24 changed files with 0 additions and 1472 deletions
|
|
@ -15,27 +15,13 @@ if [[ "$OSTYPE" == darwin* ]]; then
|
|||
fi
|
||||
|
||||
# Loads RVM into the shell session.
|
||||
completion_file="${0:h}/_rvm"
|
||||
if [[ ! -e "$completion_file" ]] && [[ -L "$completion_file" ]]; then
|
||||
unlink "$completion_file" 2> /dev/null
|
||||
fi
|
||||
|
||||
if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
|
||||
# Auto adding variable-stored paths to ~ list conflicts with RVM.
|
||||
unsetopt auto_name_dirs
|
||||
|
||||
# Source RVM.
|
||||
source "$HOME/.rvm/scripts/rvm"
|
||||
|
||||
# Complete RVM.
|
||||
if [[ ! -e "$completion_file" ]]; then
|
||||
ln -s \
|
||||
"$rvm_path/scripts/zsh/Completion/_rvm" \
|
||||
"$completion_file" \
|
||||
2> /dev/null
|
||||
fi
|
||||
fi
|
||||
unset completion_file
|
||||
|
||||
# Loads rbenv into the shell session.
|
||||
if [[ -s "$HOME/.rbenv/bin/rbenv" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue