Skip to content

feat(shell-plugin): add fish shell plugin - #3870

Open
aditzel wants to merge 1 commit into
tailcallhq:mainfrom
MiraiForge:feat/fish-shell-plugin
Open

feat(shell-plugin): add fish shell plugin#3870
aditzel wants to merge 1 commit into
tailcallhq:mainfrom
MiraiForge:feat/fish-shell-plugin

Conversation

@aditzel

@aditzel aditzel commented Sep 10, 2026

Copy link
Copy Markdown

Summary

Ports the ZSH shell plugin to fish, battle-tested on CachyOS (fish 4.x). Adds shell-plugin/fish/ mirroring the standard ~/.config/fish layout:

  • conf.d/forge.fish — plugin entry point: key bindings (Enter/Tab interception), syntax-highlight abbreviation for :commands, right-prompt integration (wraps existing fish_right_prompt, e.g. starship), fisher lifecycle events
  • functions/ — 54 autoloaded functions: full :command dispatcher (:new, :conversation, :clone, :model, :provider, :commit, :suggest, :sync, :doctor, …), @[file] tagging, fzf pickers, session model/provider/reasoning-effort overrides, background sync/update
  • completions/forge.fish — completions for the forge CLI itself

Also adds a short Fish section to shell-plugin/README.md with install instructions.

Verification

  • All 56 files pass fish --no-execute (fish 4.9.2)
  • Smoke-tested in a clean XDG_CONFIG_HOME: plugin loads, Enter/Tab bindings register, :command highlight abbreviation registers, all action functions autoload
  • Running daily on CachyOS + fish

Co-Authored-By: ForgeCode noreply@forgecode.dev

Port the ZSH shell plugin to fish: :command interception, @[file]
tagging, tab completion, conversation/session management, right-prompt
integration, and CLI completions. Follows the standard ~/.config/fish
layout (conf.d/, functions/, completions/) for easy installation.

Co-Authored-By: ForgeCode <noreply@forgecode.dev>
@github-actions github-actions Bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant