Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | # Load RVM |
| 4 | [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm |
| 5 | |
| 6 | # Add rvm gems and nginx to the path |
| 7 | export PATH=$PATH:~/.gem/ruby/1.8/bin:/opt/nginx/sbin |
| 8 | |
| 9 | # Path to the bash it configuration |
| 10 | export BASH=$HOME/.bash_it |
Robert R Evans | 1f923a9 | 2010-10-03 09:41:36 -0700 | [diff] [blame^] | 11 | export LOAD_COLORS=$BASH/themes/base.theme.bash |
Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 12 | |
| 13 | # Lock and Load a custom theme file |
| 14 | # location /.bash_it/themes/ |
| 15 | export BASH_THEME='bobby' |
| 16 | |
Robert R Evans | 1f923a9 | 2010-10-03 09:41:36 -0700 | [diff] [blame^] | 17 | # Load the color configuration file, if you want to add colors to the GIT THEME PROMPTs |
| 18 | source $LOAD_COLORS |
| 19 | |
Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 20 | # Your place for hosting Git repos. I use this for private repos. |
Robert R Evans | 149c18f | 2010-10-02 15:47:22 -0700 | [diff] [blame] | 21 | export GIT_HOSTING='git@git.domain.com' |
Robert R Evans | 1f923a9 | 2010-10-03 09:41:36 -0700 | [diff] [blame^] | 22 | export GIT_THEME_PROMPT_DIRTY=' ${RED}✗${LIGHT_GREEN}' # This shows how to use sample the colors |
| 23 | export GIT_THEME_PROMPT_CLEAN=' ✓' |
| 24 | export GIT_THEME_PROMPT_PREFIX='(' |
| 25 | export GIT_THEME_PROMPT_SUFFIX=')' |
Robert R Evans | a4d0242 | 2010-10-02 15:07:29 -0700 | [diff] [blame] | 26 | |
| 27 | # Set my editor and git editor |
| 28 | export EDITOR="/usr/bin/mate -w" |
| 29 | export GIT_EDITOR='/usr/bin/mate -w' |
| 30 | |
| 31 | # Set the path nginx |
| 32 | export NGINX_PATH='/opt/nginx' |
| 33 | |
| 34 | # Don't check mail when opening terminal. |
| 35 | unset MAILCHECK |
| 36 | |
| 37 | # Load Bash It |
| 38 | source $BASH/bash_it.sh |