Skip to content

Instantly share code, notes, and snippets.

@ben-doyle
Created August 25, 2025 23:47
Show Gist options
  • Select an option

  • Save ben-doyle/b05bb442e58603f00e1c7a75fc7adf69 to your computer and use it in GitHub Desktop.

Select an option

Save ben-doyle/b05bb442e58603f00e1c7a75fc7adf69 to your computer and use it in GitHub Desktop.
Stop kiro IDE hanging on execution

Use a separate, minimal zsh config just for VS Code (ZDOTDIR)

Tell VS Code to point zsh at a dedicated config directory so it reads a tiny .zshrc there and never touches OMZ/P10k.

  1. Create a VS Code zsh config dir
mkdir -p ~/.zsh-vscode
printf '%s\n' '# Plain zsh for VS Code only' > ~/.zsh-vscode/.zshrc
  1. Add to settings.json in Kiro
{
  "terminal.integrated.defaultProfile.osx": "zsh",
  "terminal.integrated.env.osx": {
    "ZDOTDIR": "/Users/<your-username>/.zsh-vscode"
  }
}
  1. Add only the light bits you want to ~/.zsh-vscode/.zshrc (PATH, a couple of aliases).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment