This forum is no longer active. Please post your questions to our new community site

[OSX] customize rubyconsole

Subscribe to [OSX] customize rubyconsole 3 post(s), 2 voice(s)

 
Avatar rob99 20 post(s)

Here’s an easy one…

I’d like to customise the ruby console script to provide some useful alias’ etc. How do I do that?

Also, is there any reason why the shell has to be csh, not bash?

Thanks for rubystack! Keep up the great work….

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You can edit the rubyconsole file to add some alias and to replace “csh” with “bash”. RubyStack set the rubyconsole shell using your shell environment variable, in your case “csh”. There are operating systems which not include the shell bash but all Unix systems define the shell environment variable. This is the reason to use the shell environment variable, but you can change easily.

What alias do you want to provide? Maybe we can include for next releases. Thanks.

 
Avatar rob99 20 post(s)

Thanks for the response, beltran…

I just have some personal favorite shortcuts that I’m used to working with in shell. Nothing that would benefit the package as such. :-)