Fix $EDITOR

pull/2/head
Bodaniel Jeanes 2010-06-29 22:28:46 +10:00
parent b2c6a258ac
commit 3ca7ecfaae
2 changed files with 5 additions and 4 deletions

View File

@ -2,9 +2,10 @@ export PATH="/usr/local/mysql/bin/:$PATH"
export PATH="/opt/local/bin:/opt/local/sbin:$PATH" export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="$PATH:/usr/local/jruby/bin" export PATH="$PATH:/usr/local/jruby/bin"
export GEM_OPEN_EDITOR=$EDITOR # Use single quotes here to lazy evaluate the $EDITOR variable
export GIT_EDITOR=$EDITOR export GEM_OPEN_EDITOR='$EDITOR'
export VISUAL=$EDITOR export GIT_EDITOR='$EDITOR'
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"

View File

@ -8,4 +8,4 @@ save (){
mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs mv ~/.dirs1 ~/.dirs; echo "$@"=\"`pwd`\" >> ~/.dirs
source ~/.dirs source ~/.dirs
} }
source ~/.dirs # Initialization for the above 'save' facility: source the .dirs file source ~/.dirs # Initialization for the above 'save' facility: source the .dirs file