title: How to setup my environment variables with zsh on the Mac (El Capitan)
body: <p>I am trying to add my system environments to my Mac (using El Capitan) and using zsh.</p>
  
  <p>I have echo the following in the terminal and get the following:</p>
  
  <pre><code>echo $SHELL
  /bin/zsh
  
  echo $0
  -zsh
  
  echo $PATH
  /usr/local/bin/bin:/bin:/usr/sbin:/sbin
  </code></pre>
  
  <p>How would I change the system environment variables to the following - as I'm a little unsure of how this is done with zsh?</p>
  
  <p>I want to add the following :</p>
  
  <pre><code>export ANT_HOME=/usr/local/opt/ant
  export MAVEN_HOME=/usr/local/opt/maven
  export GRADLE_HOME=/usr/local/opt/gradle
  export ANDROID_HOME=/usr/local/opt/android-sdk
  </code></pre>