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 Zsh $PROMPT #920

Closed
sorin-ionescu opened this issue Apr 22, 2012 · 5 comments
Closed

RVM breaks Zsh $PROMPT #920

sorin-ionescu opened this issue Apr 22, 2012 · 5 comments
Assignees

Comments

@sorin-ionescu
Copy link

Please see the symptoms and discussion at https://github.com/sorin-ionescu/oh-my-zsh/issues/151.

@sorin-ionescu
Copy link
Author

Inviting @mpapis into this issue since I hear that he is the RVM Zsh guy.

@mpapis
Copy link
Member

mpapis commented Apr 23, 2012

I see no information that could help me to understand the problem, can you provide the working and broken outputs? in worst case a screenshot would work too.

Can you also link me to the mentioned ruby plugin so I can check it's code - maybe that could give me an idea why they break together.

@ghost ghost assigned mpapis Apr 23, 2012
@jonathan
Copy link

Here is a link to the ruby plugin:
https://github.com/sorin-ionescu/oh-my-zsh/blob/master/modules/ruby/init.zsh

And here is a link to the prompt that is messing up:
https://github.com/sorin-ionescu/oh-my-zsh/blob/master/modules/prompt/functions/prompt_sorin_setup

It seems like the code in the prompt setup isn't getting executed and is showing up in the prompt itself. It looks like this:

~${git_info:+${(e)git_info[prompt]}} ❯                                                                                                                                           ${editor_info[keymap]}${editor_info[overwrite]}${VIM:+" V"}${git_info[rprompt]}

@sorin-ionescu
Copy link
Author

@jonathan Thank you. That information was in the comments of the linked issue.

@mpapis RVM is either escaping the prompt somewhere or printing it as is, neither of which is desirable behaviour.

@kcburge
Copy link

kcburge commented Apr 23, 2012

I believe this is related to issue #923, which I just created.

mpapis added a commit that referenced this issue Apr 23, 2012
@mpapis mpapis closed this as completed Apr 24, 2012
@pkuczynski pkuczynski added this to the rvm-1.27.0-before milestone May 8, 2019
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

5 participants