@firstpick/pi-extension-fish-user-bash
Use fish shell backend for Pi user bash commands (! and !!).
Package details
Install @firstpick/pi-extension-fish-user-bash from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@firstpick/pi-extension-fish-user-bash- Package
@firstpick/pi-extension-fish-user-bash- Version
0.1.5- Published
- May 5, 2026
- Downloads
- 575/mo · 575/wk
- Author
- firstpick
- License
- MIT
- Types
- extension
- Size
- 4.8 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-extension-fish-user-bash
Use fish (or a custom shell) for Pi ! and !! command execution.
What it does
- Overrides Pi
user_bashoperations to use your preferred shell. - Prefers explicit shell configuration via env var.
- Auto-detects fish if not configured.
- Falls back to
$SHELL(if valid), then bash. - Uses cross-platform shell resolution (PATH-aware; supports Windows
.exelookups).
Install
pi install npm:@firstpick/pi-extension-fish-user-bash
Configuration
PI_USER_BASH_SHELL_PATH- absolute path (example:
/usr/bin/fish), or - executable name resolvable on
PATH(example:fishorbash) - if unset: tries fish automatically, then
$SHELL(if valid), then bash
- absolute path (example:
Commands
/user-bash-shell— print the currently resolved shell path.
Tools
None.