Skip to content

Instantly share code, notes, and snippets.

@jpetitcolas
Last active December 17, 2015 23:58
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 jpetitcolas/5692876 to your computer and use it in GitHub Desktop.
Save jpetitcolas/5692876 to your computer and use it in GitHub Desktop.
My .bashrc
# Utilities alias
alias vi="vim"
alias ack="ack-grep"
alias phpunit="phpunit --colors"
alias ll="ls -al"
alias fuck='sudo $(history -p \!\!)'
# Git alias
alias gt="git"
alias gti="git"
alias s="git status"
alias b="git branch"
alias d="git diff"
alias gl="git log --oneline"
alias git-clean='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d'
# Symfony2 alias
alias assets="./app/console assets:install --symlink && ./app/console assetic:dump"
# Docker
alias docker-rm-all="docker rm \`docker ps --notrunc -a -q\`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment