nathannli/dsh-fish-shell0

dsh-fish-shell

DSH 插件:使用 Fish 终端执行 bash 工具命令。

AI 分析

核心用途是将 DSH 默认的 Bash 执行器替换为 Fish Shell。适合习惯使用 Fish 终端并希望 AI 在该环境下执行命令的 macOS/Linux 用户。

包名
dsh-fish-shell
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

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

Configuration

By default, the plugin uses $SHELL when it ends in /fish; otherwise it runs fish from PATH. On this system $SHELL is /opt/homebrew/bin/fish, so the default resolves to that absolute path.

Set explicit executable paths in the profile patch if needed:

- id: fish-shell
  config:
    fishPath: /opt/homebrew/bin/fish
    babelfishPath: /opt/homebrew/bin/babelfish

babelfishPath is optional. Without it, the plugin runs Fish directly and does not rewrite Bash syntax. Install Babelfish with brew install babelfish.

This is deliberately not a general Bash compatibility layer. Complex Bash syntax, inline environment assignments such as NAME=value command, and semantics Babelfish cannot translate should be written directly in Fish.