dsh-all-gitbash
Run the following command in DeepSeek Harness:
dsh plugin install liceses/dsh-all-gitbash
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install liceses/dsh-all-gitbash in the DeepSeek Harness terminal to install; the source is hosted at https://github.com/liceses/dsh-all-gitbash
About this plugin
Running DeepSeek Harness on Windows has one persistent friction point: the model is forced to write PowerShell. Paths, pipes, and variable expansion are all POSIX-native, shoehorning them into $env: and backslash syntax wastes tokens and invites subtle bugs. dsh-all-gitbash takes a direct approach: it redirects the host pwsh executor argv to Git for Windows bash, so from the very first turn the model only sees a native bash tool. System prompts, sandbox escalation, background tasks, and terminal cards are word-for-word identical to a Linux session, with zero pwsh residue in the tool surface.
The plugin uses runtime injection: no composition changes, no profile patches, no restart required. A one-click toggle (Web UI slider or the enabled field in settings.yaml) switches the entire redirection assembly on or restores the stock pwsh pipeline, with lossless round-trips that persist across restarts. A lightweight translation layer catches the occasional $env:NAME or C:... slip at the execution level, converting them to ${NAME} and /c/... so commands do not silently break.
Its sister plugin dsh-gitbash-preset handles the minimal-preset bash bootstrap while dsh-all-gitbash handles the full web-mode pwsh redirection; the two can be installed simultaneously without conflict. Ideal for any DSH user on Windows who wants their AI to write bash exactly as it would on Linux.
Use Cases
- Write bash instead of PowerShell when using DSH on Windows, eliminating syntax and path compatibility headaches
- Switch between bash and pwsh execution modes with a one-click toggle, no restart, no composition changes, lossless round-trip
- Pair with dsh-gitbash-preset so both minimal and full modes run Git Bash, giving the model a Linux-identical experience
Best For
- Developers running DeepSeek Harness on Windows
- AI coding users who prefer POSIX / bash syntax over PowerShell syntax
- Heavy DSH users who need hot-swapping execution environments without a restart
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.