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

Conflicts with chruby_auto #1

Open
TimMoore opened this issue Nov 23, 2015 · 1 comment
Open

Conflicts with chruby_auto #1

TimMoore opened this issue Nov 23, 2015 · 1 comment

Comments

@TimMoore
Copy link

Because this and chruby_auto use the same mechanism to hook into bash, only one of them can work (whichever is loaded last).

I added this to my .bashrc to work around this:

trap -- '[[ "$BASH_COMMAND" != "$PROMPT_COMMAND" ]] && { chruby_auto; nvm_auto; }' DEBUG

There may not be a good fix for this, but I wanted to open an issue to document the workaround.

@jsdf
Copy link
Owner

jsdf commented Nov 23, 2015

That's really bad. I'd assumed chruby would be doing things in a composable way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants