Why does bash keep showing my ruby ​​version at the prompt?

I first used ruby ​​yesterday and I installed some packages / gems without much awareness and now bash keeps showing my ruby ​​2.4 version everywhere I go. How do I remove it?

iterm

+3


source to share


1 answer


There are several places where it is $PS1

installed, most likely it is .profile

, .bashrc

or .bashrc_profile

.

You can take a look at the ps1 functions provided by rvm (assuming you are using). There is something useful in there.



less "`echo $rvm_path`/contrib/ps1_functions"

      

If you want to know what stones you have installed: gem list

will inform you.

+2


source







All Articles