brianmaierjr
10/8/2015 - 1:50 PM

Bash Aliases put these in your .bash_profile or .zshrc if you have it

Bash Aliases

put these in your .bash_profile or .zshrc if you have it

# ---------------------------
# Learning House Aliases
# ---------------------------

# Servers
alias p10='ssh mkadmin@marketing.p10.learninghouse.com'
alias dev='ssh mkadmin@tlhmkws01'
alias mkprod='ssh root@192.168.2.59'

# Request Forms
alias forms='cd Sites/request-forms'

# Sites Directory
alias sites='~; cd ...; cd Applications/MAMP/htdocs; ls'

# Schools
alias alvernia='~; cd ...; cd Applications/MAMP/htdocs/alvernia/wp-content/themes/olc'
alias aurora='~; cd ...; cd Applications/MAMP/htdocs/aurora/wp-content/themes/olc'
alias brescia='~; cd ...; cd Applications/MAMP/htdocs/brescia/wp-content/themes/matheno'
alias cifs='~; cd ...; cd Applications/MAMP/htdocs/commonwealth/wp-content/themes/olc'
alias csp='~; cd ...; cd Applications/MAMP/htdocs/online-csp-edu/wp-content/themes/csponline'
alias ctx='~; cd ...; cd Applications/MAMP/htdocs/concordia-texas/wp-content/themes/ctx-olc'
alias cu='~; cd ...; cd Applications/MAMP/htdocs/campbellsville/wp-content/themes/olc'
alias findlay='~; cd ...; cd Applications/MAMP/htdocs/findlay/wp-content/themes/findlay'
alias grace='~; cd ...; cd Applications/MAMP/htdocs/grace/wp-content/themes/grace'
alias husson='~; cd ...; cd Applications/MAMP/htdocs/husson/wp-content/themes/husson'
alias king='~; cd ...; cd Applications/MAMP/htdocs/king/wp-content/themes/KingUniversity-Bootstrap'
alias lesley='~; cd ...; cd Applications/MAMP/htdocs/lesley/wp-content/themes/lesley'
alias lesley-watch='~; cd ...; cd Applications/MAMP/htdocs/lesley/wp-content/themes/lesley/library; gulp watch'
alias mmc='~; cd ...; cd Applications/MAMP/htdocs/martin-methodist/wp-content/themes/doma'
alias ndc='~; cd ...; cd Applications/MAMP/htdocs/notre-dame/wp-content/themes/olc'
alias partner-plus='~; cd ...; cd Applications/MAMP/htdocs/partner-plus/wp-content/themes/partner-plus'
alias ppu='~; cd ...; cd Applications/MAMP/htdocs/point-park/wp-content/themes/olc'
alias rivier='~; cd ...; cd Applications/MAMP/htdocs/rivier/wp-content/themes/rivier'
alias sage='~; cd ...; cd Applications/MAMP/htdocs/sage/wp-content/themes/doma'
alias shorter='~; cd ...; cd Applications/MAMP/htdocs/shorter/wp-content/themes/matheno'
alias sg='~; cd ...; cd Applications/MAMP/htdocs/software-guild/wp-content/themes/salient'
alias starter='~; cd ...; cd Applications/MAMP/htdocs/starter/wp-content/themes/starter-theme'
alias starter-gulp='~; cd ...; cd Applications/MAMP/htdocs/starter-gulp/wp-content/themes/starter-theme'
alias striking='~; cd ...; cd Applications/MAMP/htdocs/striking-distance/wp-content/themes/striking-distance'


# ---------------------------------
# Functions A(dd) C(ommit) P(ush)
# ---------------------------------
function acp() {
    git add .
    git commit -a -m "$1"
    git push
}