Skip to content

Instantly share code, notes, and snippets.

@martiis
Last active August 29, 2015 14:17
Show Gist options
  • Save martiis/397c23e51c0978f12a9a to your computer and use it in GitHub Desktop.
Save martiis/397c23e51c0978f12a9a to your computer and use it in GitHub Desktop.
My aliases
alias docker-clear='docker rm $(docker ps -aq)'
alias docker-kill='docker kill $(docker ps -q)'
alias phpcs='/Users/martynas/.composer/vendor/bin/phpcs -p --standard=/Users/martynas/.composer/vendor/ongr/ongr-strict-standard/ONGR --ignore=vendor/,Tests/app/,Resources/public/ ./'
alias phpunit='/Users/martynas/.composer/vendor/bin/phpunit'
alias debug-phpunit='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit'
alias phpunit-stop='/Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure'
alias debug-phpunit-stop='php -dxdebug.remote_autostart=On /Users/martynas/.composer/vendor/bin/phpunit --stop-on-error --stop-on-failure'
alias debug='php -dxdebug.remote_autostart=On'
alias git-log="git log --graph --pretty=format:'%Cred%h%Creset %ad %s %C(yellow)%d%Creset %C(bold blue)<%an>%Creset' --date=short"
alias git-log-hist="git log --graph --full-history --all --pretty=format:'%Cred%h%Creset %ad %s %C(yellow)%d%Creset %C(bold blue)<%an>%Creset' --date=short"
alias glances="LC_ALL=en_US.UTF-8 glances"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment