AI Agent Hub
Back to plugins
⚙️

dsh-all-gitbash

Workflow Updated 2026.08.25

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