Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rvm breaks cd in el capitan #3765

Closed
andrewzhaosc opened this issue Sep 20, 2016 · 5 comments
Closed

rvm breaks cd in el capitan #3765

andrewzhaosc opened this issue Sep 20, 2016 · 5 comments

Comments

@andrewzhaosc
Copy link

in bash_profile
#[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*

but now this happens

$ echo $(cd 2> /dev/null)
Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
@pkuczynski
Copy link
Member

I am not sure what you mean by this issue? Can you elaborate please?

@andrewzhaosc
Copy link
Author

andrewzhaosc commented Sep 20, 2016

after enabling rvm, it overrides cd with a bash function. the bash function outputs garbage on stdout on certain versions of osx.

Running echo $(cd) which should output nothing outputs stuff

@pkuczynski
Copy link
Member

Which version of OSX you have? I can't reproduce the problem

@roseperrone
Copy link

What worked for me was temporarily removing my bash_profile.sh.

@mpapis
Copy link
Member

mpapis commented Sep 17, 2017

Closing as there was no feedback in over 2 weeks, please feel free to reopen when you can provide the requested information.

@mpapis mpapis closed this as completed Sep 17, 2017
@pkuczynski pkuczynski added this to the rvm-1.29.4 milestone Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants