Created
May 29, 2014 21:32
-
-
Save cokara/28bcdc838315de902f53 to your computer and use it in GitHub Desktop.
My .irbrc file. Put this in your home folder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IRB.conf[:PROMPT][:CUSTOM] = { | |
:PROMPT_I => "\e[0;33m%N(%m):%03n: > \e[m ", | |
:PROMPT_S => "\e[0;33m%N(%m):%03n:%l>>\e[m ", | |
:PROMPT_C => "\e[0;33m%N(%m):%03n:..\e[m ", | |
:PROMPT_N => "\e[0;33m%N(%m):%03n:..\e[m ", | |
:RETURN => "\e[1;31m=>\e[m %s\n" | |
} | |
IRB.conf[:PROMPT_MODE] = :CUSTOM | |
IRB.conf[:AUTO_INDENT] = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment