Last active
July 19, 2018 02:36
-
-
Save yoonsy/fe32fff7a6a029efcc3d71bdb1052658 to your computer and use it in GitHub Desktop.
My bash profile
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
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then | |
__GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share | |
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" | |
fi | |
if [ -f ~/.git-completion.bash ]; then | |
. ~/.git-completion.bash | |
fi | |
alias ll='ls -FGlAhp' | |
alias ls='ls -G' | |
alias cd..='cd ../' # Go back 1 directory level (for fast typers) | |
alias ..='cd ../' # Go back 1 directory level | |
alias ...='cd ../../' # Go back 2 directory levels | |
alias .3='cd ../../../' # Go back 3 directory levels | |
alias .4='cd ../../../../' # Go back 4 directory levels | |
alias .5='cd ../../../../../' # Go back 5 directory levels | |
alias .6='cd ../../../../../../' # Go back 6 directory levels | |
alias psg="ps aux | grep -v grep | grep -i -e VSZ -e" | |
alias fhere="find . -name " | |
# Various | |
alias h='history | tail' | |
alias hg='history | grep' | |
alias df="df -h" | |
alias du="du -h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment