Created
February 4, 2011 03:47
-
-
Save yasuhito/810706 to your computer and use it in GitHub Desktop.
.irbrc
This file contains hidden or 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
require "irb/xmp" | |
# ヒストリの設定 | |
require "irb/ext/save-history" | |
IRB.conf[ :EVAL_HISTORY ] = 10000 | |
IRB.conf[ :USE_READLINE ] = true | |
IRB.conf[ :SAVE_HISTORY ] = 10000 | |
IRB.conf[ :HISTORY_PATH ] = File::expand_path( "~/.irb_history" ) | |
# 補完を有効にする | |
require "irb/completion" | |
# wirbleを使って色をつける | |
require "rubygems" | |
require "wirble" | |
Wirble.init( :skip_prompt => :DEFAULT ) | |
Wirble.colorize | |
# オートインデント | |
IRB.conf[ :AUTO_INDENT ] = true | |
### Local variables: | |
### mode: Ruby | |
### coding: utf-8 | |
### indent-tabs-mode: nil | |
### End: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment