Summary
The PAI 3.0 installer correctly detects fish shell during installation but only updates ~/.zshrc with the new pai alias. It does not update the fish shell config at ~/.config/fish/config.fish.
Steps to Reproduce
- Have fish shell as your default shell (the installer even detects this)
- Run the PAI 3.0 installer
- Open a new fish shell session
- Run
pai
Expected Behavior
The pai command works, pointing to ~/.claude/skills/PAI/Tools/pai.ts.
Actual Behavior
error: Module not found "/Users/<user>/.claude/skills/CORE/tools/PAI.ts"
The old PAI 2.x fish function (pointing to CORE/tools/PAI.ts) is still in place. The installer added the correct alias to ~/.zshrc but did not update the fish config.
What the Installer Should Do
When fish shell is detected, the installer should update ~/.config/fish/config.fish by either:
- Adding/replacing the
pai function:
function pai
bun ~/.claude/skills/PAI/Tools/pai.ts $argv
end
- Or using a fish abbreviation:
abbr -a pai 'bun ~/.claude/skills/PAI/Tools/pai.ts'
Note: Fish shell uses function/end blocks or abbr, not bash-style alias commands.
Workaround
Manually edit ~/.config/fish/config.fish and replace the old function with the correct path.
Environment
- macOS (Darwin)
- Fish shell (detected by installer)
- PAI 3.0
Summary
The PAI 3.0 installer correctly detects fish shell during installation but only updates
~/.zshrcwith the newpaialias. It does not update the fish shell config at~/.config/fish/config.fish.Steps to Reproduce
paiExpected Behavior
The
paicommand works, pointing to~/.claude/skills/PAI/Tools/pai.ts.Actual Behavior
The old PAI 2.x fish function (pointing to
CORE/tools/PAI.ts) is still in place. The installer added the correct alias to~/.zshrcbut did not update the fish config.What the Installer Should Do
When fish shell is detected, the installer should update
~/.config/fish/config.fishby either:paifunction:Note: Fish shell uses
function/endblocks orabbr, not bash-stylealiascommands.Workaround
Manually edit
~/.config/fish/config.fishand replace the old function with the correct path.Environment