Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (27 sloc) 779 Bytes
if $(which subl > /dev/null); then
EDITOR="subl -n"
elif $(which mate > /dev/null); then
EDITOR="mate -wl1"
elif $(which nano > /dev/null); 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 EDITOR="$EDITOR"
export VISUAL="$EDITOR"
export GEM_OPEN_EDITOR="$EDITOR"
export GIT_EDITOR="$EDITOR -w" # 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
export REPORTTIME=2
export TIMEFMT="%*Es total, %U user, %S system, %P cpu"
export NODE_PATH="/usr/local/lib/node"
Something went wrong with that request. Please try again.