Last active
December 3, 2019 17:23
-
-
Save davidromani/5a8300bcf685aa49922466bd0b40ded1 to your computer and use it in GitHub Desktop.
Bash aliases
This file contains hidden or 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
# bash console | |
alias cl="clear" | |
alias lsl="ls -lh" | |
alias lsla="ls -lha" | |
alias sz="du -c -h -d 1" | |
# symfony | |
alias sf="sf2" | |
alias sf2="php app/console" | |
alias sf3="php bin/console" | |
alias sf4="sf3" | |
# git | |
alias gitme="cl && git branch -va && git status" | |
alias gpod="git push origin devel" | |
alias gpom="git push origin master" | |
alias gitlog="git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all" | |
# php | |
https://getgrav.org/blog/macos-catalina-apache-mysql-vhost-apc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment