Last active
September 30, 2015 01:05
-
-
Save clathrop/25cc2c5f6242ebff3d61 to your computer and use it in GitHub Desktop.
My local .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
parse_git_branch() { | |
git branch 2>/dev/null | grep \* | sed -ne 's#\* ##p' | awk -F / '{print " [GIT:"$0 "]"}' | |
} | |
export PS1='\[\033[00;32m\]\w\[\033[00m\]$(parse_git_branch)\$ ' | |
#export PS1='\[\033[00;32m\]\w\[\033[00m\]$(parse_git_branch)\$ ' | |
#commands to change window size, big and small | |
alias smw="printf '\033[8;25;100t'" | |
alias lgw="printf '\033[8;50;150t'" | |
export CLICOLOR=1 | |
export PATH=$PATH:/Applications/Sublime.app/Contents/SharedSupport/bin:/usr/local/groovy-2.4.3/bin:/usr/local/gradle-2.4/bin:/usr/local/apache-ant-1.9.4/bin:/usr/local/Cellar/maven/3.3.3/libexec/bin | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
export ITUNES_HOME="${HOME}/Music/iTunes" | |
export GROOVY_HOME="/usr/local/groovy-2.4.3" | |
#for when i had bashrc as main profile, now just use bash_profile since it is loaded by default on shell login | |
#source ~/.bashrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment