I recently migrated my shell over to zsh from bash on my os x computer. I obtained zsh from macports, updated my default shell on os x, and restarted. When I tried to use
port both shells said they couldn't find port.
Adding /opt/local/bin to both of their paths fixed this issue (which is interested because bash's path never included /opt/local/bin yet those programs always worked). However, the problem that still persists is programs I've installed over macports no longer work. For example: issuing emacs --version gives version 22 instead of version 24 which I installed over macports.
Does anyone know what could have happened and how I could fix this?