Skip to content
Edith

Docs

Command reference

ed completions fish

Prints the fish completion script on stdout.

Output
ed completions fish

No options of its own; --help and --version are generated.

Examples

Output
ed completions fished completions fish > ~/.config/fish/completions/ed.fish

It defines __ed_complete, calls ed __complete --index (count $tokens) -- $tokens $current, expands #files with __fish_complete_path, and registers the function for all three command names.

Where to go next