mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Bugfix: prompt display the current directory as "~rvm_rvmrc_cwd"
This commit is contained in:
parent
9e601c23f1
commit
cc6e872f21
1 changed files with 6 additions and 0 deletions
|
|
@ -4,4 +4,10 @@ function rvm_prompt_info() {
|
|||
echo "($ruby_version)"
|
||||
}
|
||||
|
||||
if [[ -s $HOME/.rvm/scripts/rvm ]]; then
|
||||
# Bugfix: prompt displays the current directory as "~rvm_rvmrc_cwd"
|
||||
# http://beginrescueend.com/integration/zsh/
|
||||
unsetopt auto_name_dirs
|
||||
|
||||
source $HOME/.rvm/scripts/rvm
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue