windowsterminal-shell is a repository by Lextm that contains sample and extension configurations and supporting code for integrating shells with Windows Terminal. Its aim is to define, register, and manage custom shell profiles (e.g. WSL distros, custom PowerShell builds, alternative shells like Git Bash, zsh via WSL) in Windows Terminal in an automated or reproducible fashion. The project includes scripts (PowerShell, possibly JSON manipulations) to scan available shells, generate Terminal profiles, and update or sync Windows Terminal’s settings.json with appropriate icons, command lines, and environment variables. This helps users maintain consistent shell environments across multiple machines (e.g. developers who use custom shells or cross-platform setups).
Features
- Auto-discovery of installed shells (WSL, Git Bash, custom PowerShell) and registration into Terminal
- Scripts to generate and sync profiles.json entries (icons, command lines, environments)
- Cross-machine sync support so settings can be replicated across user devices
- Integrated fallback and validation if a shell becomes unavailable or uninstalled
- Template support so users can define default profile metadata (colors, icon, starting directory)
- Hooks for customizing shell launch commands or environment variables per profile