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
Post a Comment