mirror of https://github.com/bjeanes/dotfiles.git
26 lines
598 B
Bash
26 lines
598 B
Bash
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 VISUAL="$EDITOR"
|
|
export GEM_OPEN_EDITOR="$EDITOR"
|
|
export GIT_EDITOR=`which vim` # http://is.gd/hGrsF
|
|
|
|
export IRBRC="$HOME/.irbrc"
|
|
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
|
|
|
|
export TERM=xterm-256color
|
|
export GREP_OPTIONS='--color=auto'
|
|
export GREP_COLOR='1;32'
|
|
export CLICOLOR=1
|
|
|
|
export HISTSIZE=1000000
|