dsh-wsl-first: Prioritizing WSL for Command Execution in DSH on Windows
dsh-wsl-first is a DSH workflow plugin maintained by yishuiliufang that injects a configurable shell-routing segment via systemPrompt to guide the model to prefer the wsl provided by dsh-wsl-tool rather than the default pwsh. It does not register new tools or disable pwsh; it only changes the default order. The prompt content is dynamically generated based on the registered executors. Requires DSH >= 0.1.7-rc.2 and depends on dsh-wsl-tool and WSL2. Install with npm install dsh-wsl-first and include it in profile bundles; restart DSH after modifications. Intended for developers already using WSL on Windows, reducing translation retries between bash and PowerShell.
Read More