Skip to content

Instantly share code, notes, and snippets.

@kuckmc01
Last active September 28, 2016 02:31
Show Gist options
  • Save kuckmc01/69ffe39f49d913d9b8342a64e56b9541 to your computer and use it in GitHub Desktop.
Save kuckmc01/69ffe39f49d913d9b8342a64e56b9541 to your computer and use it in GitHub Desktop.
Note to self: Useful Bash Profile
#If you forget where java folders are located you can find them by
# typing /usr/libexec/java_home -verbose in the terminal
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home
#export JAVA_HOME=/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
export M2_HOME=/usr/local/apache-maven/apache-maven-3.2.5
export JETTY_HOME=/Users/sixdimensions/Downloads/jetty-distribution-9.3.3.v20150827
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$M2_HOME/bin
export PATH=$PATH:/usr/local/bin
export PATH=$PATH:/Users/sixdimensions/matthew.kuckuck/vault-cli-3.1.6/bin
export PATH=$PATH:/Users/sixdimensions/matthew.kuckuck/git-branches
export PATH=$PATH:$JETTY_HOME/bin
alias showHiddenFiles='defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder'
alias hideHiddenFiles='defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder'
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
defaults write com.apple.Finder QuitMenuItem -bool YES
killall Finder
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias mvnp='mvn clean install -PautoInstallPackage'
alias mvnpc='mvn clean install -PautoInstallPackage,autoInstallPackage'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment