mirror of https://github.com/bjeanes/dotfiles.git
Fix CDPATH
parent
cec2cd5cce
commit
af0cdc5b90
|
@ -1,5 +1,5 @@
|
|||
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/mongodb/bin:/usr/local/pgsql/bin:/usr/X11/bin:/opt/local/bin
|
||||
export CDPATH=".:~"
|
||||
export CDPATH=".:${HOME}"
|
||||
|
||||
system_name=`uname -s` # Sets 'Darwin' or 'Linux' etc
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ if [ $system_name = 'Darwin' ]; then
|
|||
export EDITOR='mate -w'
|
||||
export PATH="/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/:$PATH"
|
||||
export PATH="/Library/PostgreSQL8/bin/:$PATH"
|
||||
export CDPATH="$CDPATH:~/Code/*:~/Sites/*"
|
||||
CDPATH="${CDPATH}:${HOME}/Code/Mocra/:${HOME}/Code/Personal:${HOME}/Sites/Mocra/:${HOME}/Sites/Personal/"
|
||||
export GEM_OPEN_EDITOR='mate'
|
||||
else
|
||||
export EDITOR='nano -w'
|
||||
|
|
Loading…
Reference in New Issue