changeset 482:20521d872fab

Add irbrc to keep history of commands.
author edogawaconan <me@myconan.net>
date Tue, 24 Sep 2013 17:29:18 +0900
parents 78ad8b3c6780
children ee4ce7e78d2d
files rc/irbrc setup
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rc/irbrc	Tue Sep 24 17:29:18 2013 +0900
@@ -0,0 +1,3 @@
+require 'irb/ext/save-history'
+IRB.conf[:SAVE_HISTORY] = 20000
+IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
--- a/setup	Mon Aug 26 17:53:26 2013 +0900
+++ b/setup	Tue Sep 24 17:29:18 2013 +0900
@@ -148,6 +148,7 @@
     _rc "${1}" "vim-syntax-slim" ".vim/syntax/slim.vim"
     _rc "${1}" "vim-autoload-pathogen" ".vim/autoload/pathogen.vim"
     _rc "${1}" "vimrc" ".vimrc"
+    _rc "${1}" "irbrc" ".irbrc"
   ;;
   *)
     _help