dotfiles/shell/exports.sh

25 lines
561 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
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
export TERM=xterm-256color
2009-03-20 00:08:06 +11:00
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR=1
export HISTSIZE=1000000