bash - .bashrc equivalent for rails console? -


when i'm using rails console having clear! command along side reload! command, every time launch rails console write

def clear!    system('clear') end 

when repeat behavior in bash shell add ~/.bashrc file. there similar way me rails console?

create file in home directory named ~/.irbrc. inside, define functions or settings want applied irb.

here's example explains mean.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -