Last active
December 17, 2015 23:58
-
-
Save jpetitcolas/5692876 to your computer and use it in GitHub Desktop.
My .bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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