Last active
August 5, 2022 12:59
-
-
Save frankalbenesius/23f090577f3080877b3f2ad8462a46de to your computer and use it in GitHub Desktop.
shell script to open up a new dated journal file in atom
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
alias journal='code ~/Google\ Drive/Journal/$(date "+%Y.%m.%d-%H.%M.%S").md' | |
alias gbpurge='git branch --merged | grep -v "\*" | grep -v "main" | xargs -n 1 git branch -d' | |
reset() { | |
git checkout main | |
git pull | |
nvm use | |
nvm install-latest-npm | |
npm install | |
gbpurge | |
git remote prune origin | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment