KannaKuron/dsh-gitbash-shell0

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.

AI 분석

该插件适合在Windows环境下偏好使用Bash而非PowerShell的开发者。它能将命令执行切换至Git Bash,并自动生成常用预设,需确保系统已安装Git for Windows。

패키지
dsh-gitbash-shell
버전
0.3.0
라이선스
MIT
최근 업데이트
2026. 8. 23.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KannaKuron/dsh-gitbash-shell

配置

gitbash-presets 行支持 presets 数组,只物化你常用的模式(未列出的旧物化目录、 且未被用户修改过的,会自动清理):

- id: gitbash-presets
  config:
    presets: [standard-gitbash, minimal-gitbash]   # 默认物化全部 4 个

配合 agent-presetsdefault,新会话直接落在 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 设置节调整