Last active
September 22, 2016 14:28
-
-
Save devcken/c94ad50e240aab408d22 to your computer and use it in GitHub Desktop.
Git bash configuration
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
# .bash_profile | |
export LANG="ko_KR.UTF-8" | |
source /usr/local/etc/bash_completion.d/scala | |
## Color | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
source /usr/local/share/git-core/contrib/completion/git-completion.bash | |
source /usr/local/share/git-core/contrib/completion/git-prompt.sh | |
alias ls="ls -vGF" | |
alias rm="rm -i" | |
# Prompt | |
function prompt { | |
local BLACK="\[\033[0;30m\]" | |
local BLACKBOLD="\[\033[1;30m\]" | |
local RED="\[\033[0;31m\]" | |
local REDBOLD="\[\033[1;31m\]" | |
local GREEN="\[\033[0;32m\]" | |
local GREENBOLD="\[\033[1;32m\]" | |
local YELLOW="\[\033[0;33m\]" | |
local YELLOWBOLD="\[\033[1;33m\]" | |
local BLUE="\[\033[0;34m\]" | |
local BLUEBOLD="\[\033[1;34m\]" | |
local PURPLE="\[\033[0;35m\]" | |
local PURPLEBOLD="\[\033[1;35m\]" | |
local CYAN="\[\033[0;36m\]" | |
local CYANBOLD="\[\033[1;36m\]" | |
local WHITE="\[\033[0;37m\]" | |
local WHITEBOLD="\[\033[1;37m\]" | |
local RESETCOLOR="\[\e[00m\]" | |
local FOLDERICON=$'\xEF\x81\xA0 ' | |
local PROMPTICON=$'\xEF\x81\xB8 ' | |
export PS1="$BLUEBOLD$FOLDERICON\w$RESETCOLOR$GREEN\$(__git_ps1)\n$RESETCOLOR\u $GREEN$PROMPTICON$RESETCOLOR" | |
} | |
prompt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment