title: How to set env variables on MacOS? zsh: no such file or directory
body: <p>I exported env variables(PYTHON,SPARK,ZEPELLIN). I looked at <a href="https://stackoverflow.com/questions/135688/setting-environment-variables-on-os-x">Setting environment variables on OS</a>.</p>
  <p>I want to run the Apache Zeppelin notebook.</p>
  <pre><code>grep -E &quot;^setenv&quot; /etc/launchd.conf | xargs -t -L 1 launchctl
  launchctl setenv JAVA_HOME /Library/java/JavaVirtualMachines/adoptopenjdk-8.jdk/contents/Home/
  launchctl setenv JRE_HOME /Library/java/JavaVirtualMachines/openjdk-14.0.1.jdk/contents/Home/jre/
  launchctl setenv SPARK_HOME /usr/local/Cellar/apache-spark/2.4.5/libexec
  launchctl setenv SBT_HOME /usr/local/bin/sbt
  launchctl setenv ZEPPELIN_HOME /usr/local/bin/zeppelin-0.9.0-preview1-bin-all
  launchctl setenv PYSPARK_PYTHON /usr/local/bin/python3.8
  launchctl setenv PYSPARK_DRIVER_PYTHON jupyter
  launchctl setenv PYSPARK_DRIVER_PYTHON_OPTS notebook
  launchctl setenv PYTHON_HOME /usr/local/Cellar/python@3.8/3.8.3/Frameworks/Python.framework/Versions/3.8/bin
  </code></pre>
  <p>When I try to run:</p>
  <pre><code>bin/zeppelin-daemon.sh start
  </code></pre>
  <p>I get:</p>
  <pre><code>zsh: no such file or directory: bin/zeppelin-daemon.sh
  </code></pre>
  <p>The same error with</p>
  <pre><code>zeppelin-0.9.0-preview1-bin-all/bin/zeppelin-daemon.sh
  </code></pre>
  <p>I checked env variables</p>
  <pre><code>echo $[ZEPPELIN_HOME]
  0
  </code></pre>
  <p>I deleted .zshrc and edited ~./zprofile</p>
  <pre><code>export JAVA_HOME=/Library/java/JavaVirtualMachines/adoptopenjdk-8.jdk/contents/Home/
  export JRE_HOME=/Library/java/JavaVirtualMachines/openjdk-14.0.1.jdk/contents/Home/jre/
  export SPARK_HOME=/usr/local/Cellar/apache-spark/2.4.5/libexec
  export SBT_HOME=/usr/local/bin/sbt
  export ZEPPELIN_HOME=/usr/local/bin/zeppelin-0.8.1-bin-all
  export PYSPARK_PYTHON=/usr/local/bin/python3.8
  export PYSPARK_DRIVER_PYTHON=jupyter
  export PYSPARK_DRIVER_PYTHON_OPTS='notebook'
  
  export PATH=$JAVA_HOME/bin:$SPARK_HOME:$SPARK_HOME/bin:$SPARK_HOME/sbin:$SBT_HOME/bin:$ZEPPELIN_HOME/bin:$PATH
  export PATH=$PYTHON_HOME/usr/local/Cellar/python@3.8/3.8.3/Frameworks/Python.framework/Versions/3.8/bin:$PATH
  </code></pre>
  <p>Now echo $[JAVA_HOME] shows</p>
  <pre><code>zsh: bad math expression: operand expected at `/Library/j...'
  </code></pre>
  <p>Why?
  How to fix this?</p>