Main
Use the plugin for two high-leverage loops: turn a comment into a command (or the reverse) and repair broken commands without leaving the terminal.
Keep provider config explicit in
fish-ai.iniso your shell behavior is reproducible across machines and CI shells.Treat it like a terminal copilot: use it with verbose tools (
git,kubectl,curl) where flags are easy to forget and hard to type.
Source-backed notes
- README lists installation via fisher:
fisher install realiserad/fish-ai. - README says it supports turning comments into commands, fixing broken commands (thefuck-style), and autocomplete via keyboard shortcuts.
- README describes a config file at
$XDG_CONFIG_HOME/fish-ai.ini(default~/.config/fish-ai.ini) to select providers and models.
FAQ
- Do I need to switch terminals?: No — it’s a Fish plugin and runs via hotkeys inside your shell per README.
- Where do I set API keys?: In
fish-ai.iniunder your chosen provider section (README shows multiple providers). - Is it compatible with other plugins?: README notes it does not interfere with popular plugins like
fzf.fishandtide.