I'm using an M1 macbook air for programming work. There are many tools that need rosetta emulation, while others work much faster and more stable natively.
To deal with this I've set up a copy of the terminal, called it "Terminal Rosetta" and enabled that "open with rosetta" checkbox.
But a problem I'm facing is that lots of configuration is shared between those terminals. For example, there are some python libraries that don't work under arm64. So I've installed conda with an x64 installer in the rosetta terminal. But the native terminal also has conda environments now, without me installing anything there. And I can use conda to activate environments that definitely won't work without rosetta emulation.
So far I've used homebrew only in the rosetta terminal. But now there are some packages that I'd like to install in the native terminal. I'll need two homebrew environments in parallel.
I think the correct way to solve this is to have two separate zsh profiles and keep separate PATH variables for the two terminals. But I don't understand how I can set that up. Maybe using something other than the default terminal would be helpful.