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.
$ mvn install zs
➜ ~ mvn
zsh: command not found: mvn
step 1:
vim ~/.zshrc
step 2:(Add at the end of the file)
source ~/.bash_profile;
step 3:(Execution shell)
> source ~/.bash_profile
➜ / mvn
[INFO] Scanning for projects... .......
[INFO] Scanning for projects...
.......