AI Agent Hub
Back to plugins
🖥️

dsh-git-bash

Client Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install VviLliAm-qwq/dsh-git-bash

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install VviLliAm-qwq/dsh-git-bash in the DeepSeek Harness terminal to install this plugin (source repository: https://github.com/VviLliAm-qwq/dsh-git-bash).

About this plugin

dsh-TUI ships two shell stacks on Windows and defaults to pwsh, disabling the bash stack because its executor and sandbox layer invoke bare bash, yet a stock Windows PATH does not resolve bash.exe from Git for Windows.\n\nThis plugin does one focused thing: during the win32 apply phase it auto-detects a Git for Windows installation, prepends that bin directory to the host process PATH so every component that resolves bash finds it, and via a bundle patch swaps the active tool stack from pwsh to bash at boot. On unload it restores the PATH only if the value is still its own, leaving any later edit untouched. A gitBinDir option points to a portable install, all decisions are logged to ~/.dsh-tui/dsh-git-bash.log, and a missing installation is reported at error level with the concrete consequence.\n\nSuited for dsh-TUI users on Windows who prefer bash as their working shell. The prerequisite is a Git for Windows installation: this is a stack swap, not an addition, so without a resolvable bash.exe the pwsh fallback has already been removed. On non-win32 platforms the plugin logs a skip and changes nothing.

Use Cases

  • Running dsh-TUI on Windows and wanting bash instead of pwsh as the default shell
  • Git for Windows is installed but the bash tool in dsh-TUI cannot resolve the executable
  • Need both agent commands and the sandbox layer to consistently use POSIX-style bash

Best For

  • Developers using dsh-TUI on Windows
  • CLI users who prefer a bash workflow over PowerShell
  • Teams that already have Git for Windows and want dsh to fully leverage its bash environment