# ed completions fish

> ed completions fish in the Edith ed command line reference. Prints the fish completion script on stdout.

- Canonical URL: https://getedith.pro/docs/cli/getting-started/completions-fish
- Updated: 2026-12-02

Prints the fish completion script on stdout.

```
ed completions fish
```

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

Examples

```
ed completions fish
ed 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

- [Getting started with `ed`](https://getedith.pro/docs/cli/getting-started), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
