How to set a path to the $PATH in iOS Monetary permanently? The shell I use is zsh
When using the syntax of exporting a new Path, the path would be removed after restarting the terminal and the Mac also.
How to set a new path in the zsh? Please be clear, because the ~/profile or zprofile or etc/paths or etc/paths.d and other tries are USELESS . Apple itself has got no support for this issue and I have talked to them and I can report their answer also. They refer me to the user guide of zsh which is a kind of labyrinth or a maze
Please any one who can explain the mechanism of how to add a path to the existing $PATH environment variables permanently.
Thanks in advance
MacBook Pro 15″, macOS 12.1