Created
August 31, 2017 11:23
-
-
Save dfang/61a0f04513004717564d1863c082dd2f to your computer and use it in GitHub Desktop.
simple bash profile
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
PATH=$PATH:`yarn global bin` | |
alias gs='git status' | |
alias ga='git add' | |
alias gd='git diff' | |
alias gdc='git diff --cached' | |
alias gb='git branch' | |
alias gba='git branch --all' | |
alias g='git' | |
alias y='yarn' | |
alias gr='git remote' | |
alias grv='git remote -v' | |
alias gpl='git pull' | |
alias gps='git push' | |
# git config --global alias.co checkout | |
# git config --global alias.br branch | |
# git config --global alias.ci commit | |
# git config --global alias.st status | |
eval "$(fasd --init auto)" | |
alias a='fasd -a' # any | |
alias s='fasd -si' # show / search / select | |
alias d='fasd -d' # directory | |
alias f='fasd -f' # file | |
alias sd='fasd -sid' # interactive directory selection | |
alias sf='fasd -sif' # interactive file selection | |
alias j='fasd_cd -d' # cd, same functionality as j in autojump | |
alias z='fasd_cd -d' # cd, same functionality as j in autojump | |
alias zz='fasd_cd -d -i' # cd with interactive selection | |
alias stree='/Applications/SourceTree.app/Contents/Resources/stree' | |
source ~/.bash_prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment