I recently updated to macOS Catalina, and it uses zsh. I had a few custom installations (node, aws-cli, docker) and after the installations I was able to invoke them though iTerm and the other terminals. I was trying to install maven, and had to manually update the PATH. In .zprofile I found this:
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec
And added the new maven location to the end. This worked in helping me invoke maven from the terminal, however the rest of my installs (the ones I didn't had to manually update the path for) where gone. I immediately reverted the file to its previous state, but have no luck. Has anybody seen this before?