KannaKuron/dsh-gitbash-shell ↗★ 0
dsh-gitbash-shell
DSH plugin: run every agent shell command through Git for Windows bash on Windows instead of PowerShell. Replaces the pwsh executor with a Git Bash ctx.shell provider and materializes Git Bash variants of the standard/minimal/code/cordis agent presets into your user preset root at startup.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KannaKuron/dsh-gitbash-shell说明文档
阅读完整 README ↗配置
gitbash-presets 行支持 presets 数组,只物化你常用的模式(未列出的旧物化目录、
且未被用户修改过的,会自动清理):
- id: gitbash-presets
config:
presets: [standard-gitbash, minimal-gitbash] # 默认物化全部 4 个
配合 agent-presets 的 default,新会话直接落在 Git Bash 模式,免去每次在
模式选择器里翻找(原版 shipped 模式无法替换或隐藏——部署级、只读):
- id: agent-presets
config:
default: ptc-cordis # 或 standard-gitbash / minimal-gitbash
配置
gitbash-executor 行支持:
config:
bashPath: "D:/Tools/Git/bin/bash.exe" # 默认 C:/Program Files/Git/bin/bash.exe
timeoutMs: 60000 # 默认 60s,可继续用 shell 设置节调整