Skip to content

Instantly share code, notes, and snippets.

@akiletour
Last active January 2, 2016 05:09
Show Gist options
  • Save akiletour/8254903 to your computer and use it in GitHub Desktop.
Save akiletour/8254903 to your computer and use it in GitHub Desktop.
bash aliases for mac
alias l='ls -Alh'
alias vhost='sudo subl /etc/hosts'
alias mountweb='mkdir /Volumes/www && mount -t smbfs //aki:XXPASSWORDXX@akibuntu/www /Volumes/www'
alias getcomposer='curl -s https://getcomposer.org/installer | php'
alias sshl='cat ~/.ssh/config'
#symfony2
alias dsv='app/console doctrine:schema:update --dump-sql'
alias dsu='app/console doctrine:schema:update --force'
alias dfl='app/console doctrine:fixtures:load'
alias cclear='app/console cache:clear'
alias console='app/console'
#custom
alias ..='cd ..'
alias ...='cd ../..'
alias getcomposer="curl -sS https://getcomposer.org/installer | php"
alias w='cd ~/www/'
alias killDS='find . -name *.DS_Store -type f -delete'
alias composer='php composer.phar'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment