Last active
August 20, 2021 18:13
-
-
Save eralston/bb0f05da88e9cf4c001907622b4ea622 to your computer and use it in GitHub Desktop.
Default profile script that adds commands for easy dev workflow
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
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion | |
alias done="git add . && git commit && git push" | |
alias nuke="rm -rf node_modules && npm i && npm audit fix" | |
alias clean="git branch --merged | grep -v \* | xargs git branch -D" | |
function switch() { | |
git fetch -pP | |
git checkout $1 | |
} | |
echo "Power Overwhelming..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment