Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to create a profile terminal that executes this command rvm use 1.9.2 and leave me in the prompt after choosing my ruby version.

user@user-desktop:~/Sites/RailsApp$ rvm use 1.9.2
Using /home/user/.rvm/gems/ruby-1.9.2-p290

I've tried to put in "Run a custom command instead of my shell Custom command" like I saw here but this doesn't work:

bash -l -c "rvm use 1.9.2"

Thanks in advance.

share|improve this question
    
you can put that command in ~/.bashrc but it'll be invoked each time you open a new terminal(not for login terminals though). –  Samik Jun 24 '12 at 20:10
add comment

1 Answer 1

up vote 1 down vote accepted

you can put that command in ~/.bashrc but it'll be invoked each time you open a new terminal(not for login terminals though). @Samik.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.