Last active
August 29, 2015 14:08
-
-
Save tawashley/1259941b70b322364e39 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Bash Prompt | |
PS1="[\u@\h:\w ] $ " | |
alias ll='ls -lG' | |
alias ..='cd ../' | |
alias ....='cd ../../' | |
alias ~='cd ~' | |
alias desktop='cd ~/Desktop' | |
alias reload_bash='source ~/.profile' | |
alias edit_bash='sudo nano ~/.profile' | |
alias update_locate_db='sudo /usr/libexec/locate.updatedb' | |
#Development | |
alias trunk='cd /Users/Tristan/trunk' | |
alias sass_compile='sass style.scss style.css --style expanded' | |
alias sass_watch='sass --watch style.scss:style.css' | |
alias sass_watch_compress='sass style.scss --watch --style compressed' | |
#Git | |
alias ga="git add -A" | |
alias gb="git branch" | |
alias gc="git commit -m" | |
alias gd="git diff" | |
alias gl="git log --graph" | |
alias gm="git mv" | |
alias go="git checkout" | |
alias gp="git push" | |
alias gpb="git push -u origin" | |
alias gs="git status" | |
#Apache | |
alias apache_restart='sudo apachectl restart' | |
alias apache_start='sudo apachectl start' | |
alias apache_stop='sudo apachectl stop' | |
# requires git bash completion | |
# brew install git bash-completion | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment