Skip to content

Instantly share code, notes, and snippets.

@kitmenke
Created October 12, 2017 19:44
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 kitmenke/2b353eda8064cab68224af6152227b0a to your computer and use it in GitHub Desktop.
Save kitmenke/2b353eda8064cab68224af6152227b0a to your computer and use it in GitHub Desktop.
PowerShell profile
# Profile setup instructions: http://www.howtogeek.com/50236/customizing-your-powershell-profile/
# Create inside WindowsPowerShell folder
echo "Profile loaded from $profile"
#cd C:\git
# Set environment variables
#$env:MAVEN_OPTS = "-Xmx512m"
#$env:MAVEN_VERSION = "3.3.9"
#$env:JAVA_HOME = "C:\Program Files\Java\jdk1.8.0_92"
#$env:M2_HOME = "C:\Apps\apache-maven-$($env:MAVEN_VERSION)"
#$env:PATH = "$($env:M2_HOME)\bin;$($env:JAVA_HOME)\bin;$($env:PATH)"
echo "Java home is $($env:JAVA_HOME)"
echo "Maven home is $($env:M2_HOME)"
echo "GOPATH is $($env:GOPATH)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment