Last active
December 14, 2015 21:19
-
-
Save hmps/5150203 to your computer and use it in GitHub Desktop.
My .bash_profile
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
export PATH=/usr/local/bin:/opt/subversion/bin/:$PATH | |
export PATH="/usr/local/mysql/bin:$PATH" | |
# Set style of command prompt | |
export PS1="\W:> " | |
# Setting PATH for Python 2.7 | |
# The orginal version is saved in .bash_profile.pysave | |
PATH="/Library/Frameworks/Python.framework/Versions/2.7/bin:${PATH}" | |
export PATH | |
# Aliases for GIT | |
alias gst='git status' | |
alias gca='git commit -am' | |
alias gc='git commit' | |
alias gco='git checkout' | |
alias gitlast='git rev-parse --verify HEAD | pbcopy' | |
alias gphbm='git push bb master' | |
alias gl5='git log -5 --pretty=oneline' | |
alias gfp='git ftp push' | |
# Aliases for bash | |
alias wrd='cd ~/Sites/wrdprss/wp-content/themes' | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias vps='ssh -t [email protected] "screen -rd"' | |
alias wp='cd ~/Sites/wrdprss/wp-content/themes' | |
alias dwn='cd ~/Downloads' | |
alias source_bash='source ~/.bash_profile' | |
alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'" | |
alias ehosts='open -a "Sublime Text" /private/etc/hosts' | |
alias evhosts='open -a "Sublime Text" /private/etc/apache2/extra/httpd-vhosts.conf' | |
alias ebash='open -a "Sublime Text" ~/.bash_profile' | |
alias s='open -a "Sublime Text"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment