Last active
July 5, 2018 15:00
-
-
Save tangnotes/93371132734271fe3ea8acb1158fdb28 to your computer and use it in GitHub Desktop.
Mac 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
export TANGO_ENV=personal_laptop | |
export PS1="[\033[32m\d \t\033[0m] \h: \033[36m\w\033[0m $\n> " | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export PATH=/usr/local/bin:$PATH |
function _cd() {
GitInfo=""
if [ -d '.git' ]
then
GitBranch=`git branch | grep '*' | awk '{print $2}'`
GitInfo=" (Git:$GitBranch)"
fi
export PS1="[\033[32m\d \t\033[0m] \u: \033[36m\w$GitInfo\033[0m $\n$UpperHostName> "
}
UpperHostName=`hostname -s | tr a-z A-Z`
export PROMPT_COMMAND=_cd
export TANGO_ENV=james_mac
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
export TANGO_ENV=corp_mac
export PS1="[\033[32m\d \t\033[0m] \u: \033[36m\w\033[0m $\n> "
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced