-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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
Shell prompts break and show RVM_PROJECT_PATH when used with rvm #3238
Comments
partially addressed in #3244 |
Indeed. I see the same in my terminal titles (rxvt and gnome-terminal). I'm sure there is a setting somewhere in a given terminal's configuration, but I haven't bothered to dig in to that yet. |
Hi both, this is a feature in oh-my-zsh that changes the title to the command running while it's running, and the current working directory when there is no command running. You can find the causing lines in the As you can see, |
I found the real culprit, read on in rvm/rvm#3091 (comment) |
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh/ohmyzsh#2857 ohmyzsh/ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in rvm/rvm#3091 (comment) Related issues: ohmyzsh#2857 ohmyzsh#3238 rvm/rvm#3091
With the latest version of
rvm
it seems there is a bug with thePROMPT
in some themes that causes the textRVM_PROJECT_PATH
to show.Please see rvm/rvm#3091 for more details.
The text was updated successfully, but these errors were encountered: