dsh-gitbash-shell
在终端中运行以下命令:
dsh plugin install KannaKuron/dsh-gitbash-shell
将以下提示词粘贴到 DeepSeek Harness 对话框中:
在 DeepSeek Harness 中,使用命令 dsh plugin install KannaKuron/dsh-gitbash-shell 安装,源码地址为 https://github.com/KannaKuron/dsh-gitbash-shell。
插件介绍
在 Windows 上,DeepSeek Harness 默认使用 PowerShell 作为执行器,但 bash 命令会错误地解析到 WSL 的 bash.exe,导致无法正常使用 Git Bash 环境。这给依赖 bash 工具链的开发者带来了不便,限制了他们的工作流。
dsh-gitbash-shell 插件通过将执行器替换为 Git for Windows 的 bash.exe,解决了这一问题。它为标准、极简、PTC 和创造四种模式提供了对应的 Git Bash 版 preset,保留官方沙箱语义和工具一致性。插件还智能适配 dsh 0.1.1 和 0.1.2+ 版本,自动处理升级兼容性,无需手动干预。
这个插件特别适合在 Windows 上进行软件开发、命令行操作的用户,尤其是那些习惯 Git Bash 环境、需要 bash 工具进行脚本编写和工具集成的开发者。无论你是新手还是资深用户,都能无缝切换到 Git Bash,提升工作效率和体验。
使用场景
- 在 Windows 上使用 bash 进行脚本编写和命令行操作
- 将 PowerShell 执行器替换为 Git Bash 以保持工具一致性
- 为 DeepSeek Harness 的多种模式提供 Git Bash 环境支持
适合人员
- Windows 平台上的软件开发者
- 习惯使用 Git Bash 的命令行用户
- 需要集成 bash 工具的 DeepSeek Harness 用户