mattfoster / zshkit forked from bkerley/zshkit

My way-overdone zsh config scripts

zshkit / 05_ruby
100644 10 lines (10 sloc) 0.262 kb
1
2
3
4
5
6
7
8
9
10
# Convenient. Also works in Gentoo or Ubuntu
if [[ -x `which irb1.8` ]]; then
  alias irb='irb1.8 --readline -r irb/completion'
else
  alias irb='irb --readline -r irb/completion'
fi
export RI='-f ansi --width 70'
if [[ -x `which fri` ]]; then
  alias ri=fri
fi