dotfiles/bash/exports

50 lines
1.4 KiB
Plaintext
Raw Normal View History

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/*"
2009-06-10 13:02:44 +10:00
export GEM_OPEN_EDITOR='mate'
else
export EDITOR='nano -w'
fi
2009-03-20 00:08:06 +11:00
export PATH="/usr/local/mysql/bin/:$PATH"
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
export PATH="$PATH:/usr/local/jruby/bin"
2009-06-10 13:02:44 +10:00
2009-03-20 00:08:06 +11:00
export IRBRC="$HOME/.irbrc"
2009-09-27 10:48:45 +10:00
export JEWELER_OPTS="--rspec --gemcutter --rubyforge --reek --roodi"
2009-03-20 00:08:06 +11:00
export GIT_EDITOR=$EDITOR
export VISUAL=$EDITOR
2009-03-20 00:08:06 +11:00
export COLOR_NC='\e[0m' # No Color
export COLOR_WHITE='\e[1;37m'
export COLOR_BLACK='\e[0;30m'
export COLOR_BLUE='\e[0;34m'
export COLOR_LIGHT_BLUE='\e[1;34m'
export COLOR_GREEN='\e[0;32m'
export COLOR_LIGHT_GREEN='\e[1;32m'
export COLOR_CYAN='\e[0;36m'
export COLOR_LIGHT_CYAN='\e[1;36m'
export COLOR_RED='\e[0;31m'
export COLOR_LIGHT_RED='\e[1;31m'
export COLOR_PURPLE='\e[0;35m'
export COLOR_LIGHT_PURPLE='\e[1;35m'
export COLOR_BROWN='\e[0;33m'
export COLOR_YELLOW='\e[1;33m'
export COLOR_GRAY='\e[0;30m'
export COLOR_LIGHT_GRAY='\e[0;37m'
export TERM=xterm-color
export GREP_OPTIONS='--color=auto' GREP_COLOR='1;32'
export CLICOLOR=1
# sets title of window to be user@host
export PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*} ${PWD}"; echo -ne "\007"'
# export HISTCONTROL=erasedups # I actually want duplicates because of profileme
export HISTSIZE=1000000