-
-
Save mikesea/3290437 to your computer and use it in GitHub Desktop.
sample .bash_profile goodies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.bashrc | |
source ~/.rvm/scripts/rvm | |
export PATH="/usr/local/bin:/usr/local/sbin:$PATH" | |
export EDITOR=/usr/local/Cellar/macvim/7.3-64/bin/mvim | |
# git | |
alias gs='git status ' | |
alias ga='git add ' | |
alias gb='git branch ' | |
alias gc='git commit' | |
alias gd='git diff' | |
alias go='git checkout ' | |
alias gk='gitk --all&' | |
alias gx='gitx --all' | |
source /usr/local/etc/bash_completion.d/git-completion.bash | |
#menus | |
export RUBYOPT=-Itest | |
RED="\[\033[0;31m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[0;36m\]" | |
PINK="\[\033[0;35m\]" | |
WHITE="\[\033[1;37m\]" | |
BLACK="\[\033[0;30m\]" | |
OFF="\[\033[0m\]" | |
PURPLE="\[\033[0;34m\]" | |
export PS1="$BLUE\W $PINK\$(__git_ps1 "[%s]")$OFF$RED ☞ $WHITE " | |
# redis | |
alias redis-start="redis-server /usr/local/etc/redis.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment