dotfiles/shell/exports.sh

26 lines
598 B
Bash
Raw Normal View History

if $(which mate > /dev/null && false); then
EDITOR="mate -wl1"
elif $(which nano > /dev/null && false); then
EDITOR="nano -w"
elif $(which mvim > /dev/null); then
EDITOR="mvim"
elif $(which gvim > /dev/null); then
EDITOR="gvim"
else
EDITOR="vim"
fi
2010-11-24 17:41:03 +11:00
export VISUAL="$EDITOR"
export GEM_OPEN_EDITOR="$EDITOR"
export GIT_EDITOR=`which vim` # http://is.gd/hGrsF
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
export TERM=xterm-256color
2010-11-24 17:46:43 +11:00
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'
2009-03-20 00:08:06 +11:00
export CLICOLOR=1
export HISTSIZE=1000000