title: Command not found - Oh-My-Zsh
body: <p>I recently installed zsh and oh-my-zsh in my Mac. Now when I try to run a maven command from the terminal, I am getting the following error.</p>
  
  <pre><code>$ mvn install
  zsh: command not found: mvn
  </code></pre>
  
  <p>I have installed Apache maven in /Applications directory. Currently my .zshrc file looks like below.</p>
  
  <pre><code>plugins=(git brew pip mvn mysql-macports python sublime tmux osx)
  
  # ####################
  # Maven Config Options
  # ####################
  export M2_HOME=/Applications/apache-maven-3.3.3
  export PATH=$PATH:M2_HOME/bin
  </code></pre>
  
  <p>As seen above, I appended location of maven installation to the path. But I am still getting errors. Any help is appreciated.</p>