Last active
November 28, 2016 09:06
-
-
Save rbsgn/9f299e1e60e691e10c76fad66141dee0 to your computer and use it in GitHub Desktop.
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
readonly GIT_CORE='/Applications/Xcode.app/Contents/Developer/usr/share/git-core' | |
readonly GIT_BASH_COMPLETION="$GIT_CORE/git-completion.bash" | |
readonly GIT_PS1="$GIT_CORE/git-prompt.sh" | |
[ -f "$GIT_BASH_COMPLETION" ] && source "$GIT_BASH_COMPLETION" | |
if [ -f "$GIT_PS1" ] ; then | |
source "$GIT_PS1" | |
export PS1='[\A] $(tput setaf 2)\u$(tput sgr0):\w$(tput setaf 1)$(__git_ps1 " (%s)")$(tput sgr0) $ ' | |
else | |
export PS1="[\A] $(tput setaf 2)\u$(tput sgr0):\w $ " | |
fi | |
alias grep='grep --color=always' |
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
export PATH="$PATH:$HOME/bin:$HOME/.rvm/bin:$HOME/Library/Android/sdk/platform-tools" | |
export CLICOLOR=1 | |
export GREP_COLOR="1;31" | |
[ -r $HOME/.bashrc ] && source $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment