For some reason today whenever I open a new window in iTerm or Terminal it opens VSCode for a sec before closing it. Whenever this happens the terminal disappears from my screen and it's really annoying. It is running commands as soon as it opens the new window. The top of iTerm2 displays
login
then
bash
then finally
Electron
before it kicks me out and opens VSCode. I installed luaenv and rbenv today and I tried to comment out the paths in /.zshrc. but it didn't help at all. Do you know what is causing this issue? Any help would be much appreciated!