feat(shell-plugin): add fish shell plugin - #3870
Open
aditzel wants to merge 1 commit into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the ZSH shell plugin to fish, battle-tested on CachyOS (fish 4.x). Adds
shell-plugin/fish/mirroring the standard~/.config/fishlayout:conf.d/forge.fish— plugin entry point: key bindings (Enter/Tab interception), syntax-highlight abbreviation for:commands, right-prompt integration (wraps existingfish_right_prompt, e.g. starship), fisher lifecycle eventsfunctions/— 54 autoloaded functions: full:commanddispatcher (:new,:conversation,:clone,:model,:provider,:commit,:suggest,:sync,:doctor, …),@[file]tagging, fzf pickers, session model/provider/reasoning-effort overrides, background sync/updatecompletions/forge.fish— completions for theforgeCLI itselfAlso adds a short Fish section to
shell-plugin/README.mdwith install instructions.Verification
fish --no-execute(fish 4.9.2)XDG_CONFIG_HOME: plugin loads, Enter/Tab bindings register,:commandhighlight abbreviation registers, all action functions autoloadCo-Authored-By: ForgeCode noreply@forgecode.dev