Fixed editors jumping into focus when new shell was created

pull/2/head
Bodaniel Jeanes 2010-11-23 00:04:20 +10:00
parent 901aa478b0
commit e2e6df18ae
1 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,10 @@
if $(which mate); then if $(which mate > /dev/null); then
EDITOR="mate -wl1" EDITOR="mate -wl1"
elif $(which nano); then elif $(which nano > /dev/null); then
EDITOR="nano -w" EDITOR="nano -w"
elif $(which mvim); then elif $(which mvim > /dev/null); then
EDITOR="mvim" EDITOR="mvim"
elif $(which gvim); then elif $(which gvim > /dev/null); then
EDITOR="gvim" EDITOR="gvim"
else else
EDITOR="vim" EDITOR="vim"
@ -17,7 +17,7 @@ export VISUAL=$EDITOR
export IRBRC="$HOME/.irbrc" export IRBRC="$HOME/.irbrc"
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi" export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
export TERM=xterm-color export TERM=xterm-256color
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32' export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR=1 export CLICOLOR=1