Skip to content

Instantly share code, notes, and snippets.

@eralston
Last active August 20, 2021 18:13
Show Gist options
  • Save eralston/bb0f05da88e9cf4c001907622b4ea622 to your computer and use it in GitHub Desktop.
Save eralston/bb0f05da88e9cf4c001907622b4ea622 to your computer and use it in GitHub Desktop.
Default profile script that adds commands for easy dev workflow
[ -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