Hot answers tagged zsh
With bash and zsh you can use Process Substitution: source <(./myPythonScript -outputZSHSettings)
The answer is simple, almost evident in the question. Here's why: The shell zsh is not bash, it is a different shell. zsh will not use the default files built for bash: .bashrc or .bash_profile. These two files are startup configuration files for bash. zsh has its own startup configuration files. You can find out more about them here on the zsh intro page: ...
Only top voted, non community-wiki answers of a minimum length are eligible