Created
August 20, 2018 08:00
-
-
Save revooms/519205e615a280c7ee2eee6917443399 to your computer and use it in GitHub Desktop.
My personal 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
| # Laravel | |
| alias art="php artisan" | |
| alias fresh='php artisan migrate:refresh --seed' | |
| alias migrate="php artisan migrate" | |
| alias nah='git reset --hard;git clean -df' | |
| alias nrw="npm run watch" | |
| alias t="vendor/bin/phpunit" | |
| # Bash | |
| alias df="df -h" | |
| alias diskusage="df" | |
| alias fu="du -ch" | |
| alias publicip='dig +short myip.opendns.com @resolver1.opendns.com' | |
| alias python=python3 |
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
| if [ -f ~/.bash_aliases ]; then | |
| . ~/.bash_aliases | |
| fi |
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
| if [ -f ~/.bash_aliases ]; then | |
| . ~/.bash_aliases | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment