2010-11-23 01:04:20 +11:00
|
|
|
if $(which mate > /dev/null); then
|
2010-11-22 23:28:49 +11:00
|
|
|
EDITOR="mate -wl1"
|
2010-11-23 01:04:20 +11:00
|
|
|
elif $(which nano > /dev/null); then
|
2010-11-22 23:28:49 +11:00
|
|
|
EDITOR="nano -w"
|
2010-11-23 01:04:20 +11:00
|
|
|
elif $(which mvim > /dev/null); then
|
2010-11-22 23:28:49 +11:00
|
|
|
EDITOR="mvim"
|
2010-11-23 01:04:20 +11:00
|
|
|
elif $(which gvim > /dev/null); then
|
2010-11-22 23:28:49 +11:00
|
|
|
EDITOR="gvim"
|
|
|
|
else
|
|
|
|
EDITOR="vim"
|
|
|
|
fi
|
2009-04-26 16:55:34 +10:00
|
|
|
|
2010-11-22 23:28:49 +11:00
|
|
|
export GEM_OPEN_EDITOR=$EDITOR
|
|
|
|
export GIT_EDITOR=$EDITOR
|
|
|
|
export VISUAL=$EDITOR
|
2009-06-10 13:02:44 +10:00
|
|
|
|
2009-03-20 00:08:06 +11:00
|
|
|
export IRBRC="$HOME/.irbrc"
|
2009-09-27 10:48:45 +10:00
|
|
|
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
|
2009-03-20 00:08:06 +11:00
|
|
|
|
2010-11-23 01:04:20 +11:00
|
|
|
export TERM=xterm-256color
|
2009-03-20 00:08:06 +11:00
|
|
|
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
|
|
|
|
export CLICOLOR=1
|
|
|
|
|
2009-04-26 16:55:34 +10:00
|
|
|
export HISTSIZE=1000000
|