Skip to content

josh theme prompts command not found: rbenv_prompt_info #878

Closed
johnjohndoe opened this Issue Jan 27, 2012 · 6 comments

6 participants

@johnjohndoe

I am using the theme ZSH_THEME="josh" and updated to the latest version (3629270) of oh-my-zsh. I working on MacOS 10.7.2.

Although, I installed rbenv via brew on every prompt the following messages occur.

josh_prompt:5: command not found: rbenv_prompt_info                                                                   
josh_prompt:26: command not found: rbenv_prompt_info

Here is my configuration.

@natew
natew commented Jan 30, 2012

I'm having this too, no time to check into it yet but get the same error.

@orip
orip commented Feb 6, 2012

Same error, not using rvm or rbenv at all. I guess 6496acf distinguishes "rvm" themes and assumes rvm or using the rbenv plugin.

A quick fix is to copy your theme to a different file (e.g. mytheme.zsh-theme) and add this near the top (adds an empty rbenv_prompt_info if necessary):

functions rbenv_prompt_info >& /dev/null || rbenv_prompt_info(){}
@alourie
alourie commented Nov 8, 2012

I've just pulled master, and it seems that the issue is not yet fixed.

@anshulm
anshulm commented Dec 10, 2012

I tried again. It's not fixed.

@anshulm
anshulm commented Jan 7, 2013

Not happening anymore.

@tnb tnb pushed a commit to tnb/oh-my-zsh that referenced this issue Apr 25, 2013
Brent Faulkner add default rbenv_prompt_info implementation to close #878 366278d
@mchataigner mchataigner added a commit to mchataigner/oh-my-zsh that referenced this issue Jun 4, 2013
Brent Faulkner add default rbenv_prompt_info implementation to close #878 dbee831
@Raytray Raytray added a commit that referenced this issue Jun 5, 2013
Brent Faulkner add default rbenv_prompt_info implementation to close #878 1b3716f
@jtzemp jtzemp pushed a commit to jtzemp/oh-my-zsh that referenced this issue Sep 24, 2013
Brent Faulkner add default rbenv_prompt_info implementation to close #878 f102086
@ibc
ibc commented Dec 28, 2013

It happens to me right now. Fresh installation on OSX Mavericks. No RVM installed.

@w31 w31 pushed a commit to w31/oh-my-zsh that referenced this issue Apr 30, 2014
Brent Faulkner add default rbenv_prompt_info implementation to close #878 a042205
@mkarklins mkarklins added a commit to mkarklins/oh-my-zsh that referenced this issue Sep 5, 2014
Brent Faulkner add default rbenv_prompt_info implementation to close #878 25feb6e
@trynity trynity pushed a commit to trynity/oh-my-zsh that referenced this issue Nov 29, 2014
Brent Faulkner add default rbenv_prompt_info implementation to close #878 e37213c
@kenton kenton added a commit to kenton/oh-my-zsh that referenced this issue Jan 9, 2015
Brent Faulkner add default rbenv_prompt_info implementation to close #878 7027d84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.