![]() (The MANPATH environment variable will not be modified unless it is already set in the environment.)Įxecuting path_helper at least once during shell startup is REALLY important: paths and paths.d are where the system and third party installers define their path additions. The path_helper utility reads the contents of the files in the directories /etc/paths.d and /etc/manpaths.d and appends their contents to the PATH and MANPATH environment variables respectively. Notice that none of the global zsh startup files and this is the root problem: /etc/zprofile contains: # system-wide environment settings for zsh(1) After playing a bit, I found that turning on Tools -> Terminal -> Shell Integration makes the terminal a "login shell" and the startup file load story improved a bit: /etc/zshrc In Jetbrains terminal configuration, you cannot enter /bin/zsh -login it has no effect. IntelliJ thinks this is not a login shell. My zsh man page says the load order should be:Īfter adding an echo to each of those files that existed, I got the following for iTerm2: /etc/zprofile ![]() This hints at a startup file loading problem. ![]() Users/starver/.sdkman/candidates/maven/current/bin:/Users/starver/.sdkman/candidates/groovy/current/bin:/Users/starver/.sdkman/candidates/gradle/current/bin:/usr/local/Cellar/pyenv-virtualenv/1.1.3/shims:/Users/starver/.pyenv/shims:/Users/starver/.pyenv/bin:/Users/starver/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/X11/bin:/usr/local/git/bin:/Users/starver/bin/:/Users/starver/code/go/bin/:/Users/starver/.rvm/binĪnd in IntelliJ: /usr/bin:/bin:/usr/sbin:/sbin Can't find binaries, can't run stuff? Obviously a $PATH problem, but what and why?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |