Skip to content

Instantly share code, notes, and snippets.

@ryanwinchester
Last active September 25, 2015 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanwinchester/767f5a319727aa44b3b8 to your computer and use it in GitHub Desktop.
Save ryanwinchester/767f5a319727aa44b3b8 to your computer and use it in GitHub Desktop.
Shell Aliases
#
## Source a .aliases file:
# if [ -f ~/.zsh/zshalias ]; then
# source ~/.aliases
# else
# print "404: ~/.aliases not found."
# fi
#
# Beautiful git log
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# Testing
alias phpunit="vendor/bin/phpunit"
alias phpspec="vendor/bin/phpspec"
alias codecept="vendor/bin/codecept"
alias behat="vendor/bin/behat"
# Virtual machines
alias hup="homestead up"
alias hupish="homestead up && homestead ssh"
alias vup="vagrant up"
alias vupish="vagrant up && vagrant ssh"
alias vm="vagrant ssh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment