Skip to content

Instantly share code, notes, and snippets.

@kompozer
Created December 7, 2010 11:23
Show Gist options
  • Save kompozer/731692 to your computer and use it in GitHub Desktop.
Save kompozer/731692 to your computer and use it in GitHub Desktop.
the bash_profile file for bash-it
#!/bin/bash
# Load RVM, if you are using it
[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
# Add rvm gems and nginx to the path
export PATH=$PATH:~/.gem/ruby/1.8/bin:/opt/nginx/sbin:~/bin:/opt/local/bin:/opt/local/sbin
# Path to the bash it configuration
export BASH=$HOME/.bash_it
# Lock and Load a custom theme file
# location /.bash_it/themes/
export BASH_THEME='clean'
# Your place for hosting Git repos. I use this for private repos.
export GIT_HOSTING='git@git.domain.com'
# Set my editor and git editor
export EDITOR="~/bin/mvim -w"
export GIT_EDITOR='~/bin/mvim -w'
# Set the path nginx
export NGINX_PATH='/opt/nginx'
# Don't check mail when opening terminal.
unset MAILCHECK
# Load Bash It
source $BASH/bash_it.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment