Skip to content

Instantly share code, notes, and snippets.

@deveedutta
Created November 16, 2022 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deveedutta/fef98d5fbdf337bcb98bf3b4a94fe7f1 to your computer and use it in GitHub Desktop.
Save deveedutta/fef98d5fbdf337bcb98bf3b4a94fe7f1 to your computer and use it in GitHub Desktop.
Reference .bash_profile file
export PATH=/usr/local/bin:$PATH
export PATH=/usr/bin:$PATH
export PATH=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin:$PATH
export PATH=/Applications/Sublime\ Text.app/Contents/SharedSupport/bin:$PATH
export PATH=/Users/deveedutta.m/mongodb/bin:$PATH
export PATH=/Users/deveedutta.m/redis/src:$PATH
export PATH=/Users/deveedutta.m/apache-tomcat-8.0.36/bin:$PATH
export PATH=/Users/deveedutta.m/apache-maven-3.3.9/bin:$PATH
export PATH=/usr/local/mysql/bin:$PATH
# chromium - depot_tools
export PATH=/Users/deveedutta.m/Projects/depot_tools:$PATH
# enabling gitk
export PATH=/usr/local/git/bin:$PATH
export PATH=/Applications/sqlite-tools-osx-x86-3140200:$PATH
export M2_HOME=/Users/deveedutta.m/apache-maven-3.3.9
export M2=/Users/deveedutta.m/apache-maven-3.3.9/bin
export MAVEN_OPTS="-Xmx1048m -Xms256m -XX:MaxPermSize=312M"
# export JAVA_HOME=/usr/
# export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre
# From Arushi
export JAVA_HOME=$(/usr/libexec/java_home)
# echo $(/usr/libexec/java_home)
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home
# The next line updates PATH for the Google Cloud SDK.
if [ -f /Users/deveedutta.m/Downloads/google-cloud-sdk/path.bash.inc ]; then
source '/Users/deveedutta.m/Downloads/google-cloud-sdk/path.bash.inc'
fi
# The next line enables shell command completion for gcloud.
if [ -f /Users/deveedutta.m/Downloads/google-cloud-sdk/completion.bash.inc ]; then
source '/Users/deveedutta.m/Downloads/google-cloud-sdk/completion.bash.inc'
fi
# PATH for the Google Cloud SDK (manual)
export PATH=/Users/deveedutta.m/Downloads/google-cloud-sdk/bin/:$PATH
# example
alias lh='ls -lah'
# npm caching
alias npmi='sudo npm install --cache-min Infinity'
alias npmis='sudo npm install --save --cache-min Infinity'
# execute this to reload
# source ~/.bash_profile
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile;
fi
if [ -f ~/.bash_profile ]; then
. ~/.bash_profile;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment