I'm using zsh from vscode integrated terminal
i also use hyper terminal, warp and iterm2 for other purposes but i like to use the integreated terminal while in vscode. i actually enjoy my heavy .zshrc config on external terminals, but i often get the popup "your shell environment is taking too long to load" from vscode. Tbh, i don't mind the popup itself, but i think that a lot of the features that are useful outside vscode are not needed inside.
How can i set a different .zshrc to load only to be used by the vscode integreated terminal ?
tried conditional loading from my .zshrc but don't like it
tried setting it in the vscode-settings.json
- this self-answer confused me more
- this i think points in the right direction but i am not sure how to use task.json
my env:
- macOS 13.1 22C65 arm64
- Apple M1 Max
- vscode (1.74.11ad8d514439d5077d2b0b7ee64d2ce82a9308e5a for arm64)
- zsh 5.9 (arm-apple-darwin22.1.0)
~/.zshenv
and, if you know that you are under VStudio, set the variableZDOTDIR
to the directory containing your zsh setup files.ZDOTDIR
and then cause all setup files to be executed from that directory.