mirror of https://github.com/bjeanes/dotfiles.git
clean up and fix EDITOR variable usage and remove unneeded-paths (since everything is now in brew etc)
parent
75d1bd23cc
commit
7036e53742
|
@ -9,7 +9,7 @@ alias top='top -o cpu'
|
|||
alias et="$EDITOR ."
|
||||
|
||||
alias sprof="reload"
|
||||
alias eprof="$EDITOR $HOME/.config"
|
||||
alias eprof="m $HOME/.config"
|
||||
|
||||
alias home="cd $HOME" # the tilde is too hard to reach
|
||||
alias systail='tail -fn0 /var/log/system.log'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
PATH="/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/local/mongodb/bin:/usr/local/pgsql/bin:/usr/X11/bin:/opt/local/bin:${PATH}"
|
||||
PATH="/usr/local/bin:/usr/local/sbin:/usr/X11/bin:/usr/bin:/usr/sbin:/bin:/sbin:${PATH}"
|
||||
CDPATH=".:${HOME}"
|
||||
|
||||
source $DOT_FILES/$CURRENT_SHELL/config.*sh
|
||||
|
|
|
@ -1,12 +1,18 @@
|
|||
export PATH="/usr/local/mysql/bin/:$PATH"
|
||||
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
|
||||
export PATH="$PATH:/usr/local/jruby/bin"
|
||||
if $(which mate); then
|
||||
EDITOR="mate -wl1"
|
||||
elif $(which nano); then
|
||||
EDITOR="nano -w"
|
||||
elif $(which mvim); then
|
||||
EDITOR="mvim"
|
||||
elif $(which gvim); then
|
||||
EDITOR="gvim"
|
||||
else
|
||||
EDITOR="vim"
|
||||
fi
|
||||
|
||||
# Use single quotes here to lazy evaluate the $EDITOR variable (as it changes later if on OS X)
|
||||
export EDITOR='nano -w'
|
||||
export GEM_OPEN_EDITOR='$EDITOR'
|
||||
export GIT_EDITOR='$EDITOR'
|
||||
export VISUAL='$EDITOR'
|
||||
export GEM_OPEN_EDITOR=$EDITOR
|
||||
export GIT_EDITOR=$EDITOR
|
||||
export VISUAL=$EDITOR
|
||||
|
||||
export IRBRC="$HOME/.irbrc"
|
||||
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
export EDITOR='mate -wl1'
|
||||
export VISUAL=$EDITOR
|
||||
export GIT_EDITOR=$EDITOR
|
||||
|
||||
export PATH="/Library/PostgreSQL8/bin/:$PATH"
|
||||
CDPATH="${CDPATH}:${HOME}/Code/Mocra/:${HOME}/Code/Personal:${HOME}/Sites/Mocra:${HOME}/Sites/Personal:${HOME}/Sites/Client/"
|
||||
CDPATH="${CDPATH}:${HOME}/Code/Mocra/:${HOME}/Code/Personal:${HOME}/Code/:${HOME}/Code/Open Source:${HOME}/Sites/Mocra:${HOME}/Sites/Personal:${HOME}/Sites/Client/"
|
||||
|
||||
alias o='open .'
|
||||
|
||||
|
|
Loading…
Reference in New Issue