Fish shell completions for just, a command runner.
This plugin provides dynamic autocompletions for just commands based on the recipes defined in your justfile (or .justfile) in the current directory or any parent directory.
- Dynamic completions: Automatically discovers recipes from
justfilein current or parent directories - Help text: Shows recipe descriptions/comments as completion descriptions
- Smart discovery: Uses
just --listto search up the directory tree, find the nearest justfile, and present completions for the just commands in scope
Using Fisher
fisher install hmurraydavis/fish-just-completionsOr add to your fishfile:
hmurraydavis/fish-just-completions
Using OMF (Oh My Fish)
omf install hmurraydavis/fish-just-completionsUsing Fisherman
fisher install hmurraydavis/fish-just-completionsOption 1: Use the install script (easiest)
cd fish-just-completions
./install.fishOption 2: Copy completion file directly
cp fish-just-completions/completions/just.fish ~/.config/fish/completions/just.fishAfter manual installation, restart your Fish shell or run:
source ~/.config/fish/completions/just.fishOnce installed, simply type just and press Tab to see available recipes.
The completions automatically update based on the justfile in your current directory or any parent directory.
The completion script:
- Runs
just --list(which automatically searches forjustfileor.justfilein current and parent directories) - Parses the output to extract recipe names and help text
- Provides completions with descriptions shown in the completion menu
The completions are generated dynamically each time you press Tab, so they always reflect the current justfile.
- Fish shell 3.0+
- just installed and in PATH