Created
June 26, 2017 13:31
-
-
Save PBlanco/9b63750dac5def19c49ef70c13e86f3d to your computer and use it in GitHub Desktop.
Custom Terminal
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
#git | |
alias git-clean="git branch --merged | grep -v "\*" | xargs -n 1 git branch -d" | |
alias up="git pull && npm i && npm run migrate" | |
alias gs="git status" | |
# open applications | |
alias code='open $@ -a "Visual Studio Code"' | |
# show or hide hidden files | |
alias showfiles='defaults write com.apple.finder AppleShowAllFiles YES; killall Finder /System/Library/CoreServices/Finder.app' | |
alias hidefiles='defaults write com.apple.finder AppleShowAllFiles NO; killall Finder /System/Library/CoreServices/Finder.app' | |
# add Developer folder to cd path for quick access to repos from anywhere | |
CDPATH=".:$HOME/Developer/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment