Skip to content

CLI Getting Started Completions Source

pukbot[bot] edited this page Aug 25, 2026 · 1 revision

ed completions source

Prints the fallback line that loads one completion script directly.

ed completions source [--shell <zsh|bash|fish>] [--json]
Name Type / values Default What it does
--shell <shell> zsh, bash or fish zsh Select the completion script.
--json flag off Emit shell and source in one JSON object.

Plain output is ready to paste into the selected shell's startup file:

$ ed completions source
source $HOME/.local/share/zsh/site-functions/_ed

JSON keeps the selected shell explicit:

{
  "shell": "fish",
  "source": "source $HOME/.config/fish/completions/ed.fish"
}

The path comes from the same shared operation used by the Copy button in Terminal settings. It prefers the recorded installed script and otherwise prints the line for the directory where installation would place it. An unsupported shell exits 3 without output.

Where to go next

CLI reference

Getting Started
Config
App
Extensions
Permissions
Usage
System
Music
Calendar
Clipboard
Color
Download
Apps
Tools
Shelf
Cleaner
Machines
Machines Remote
Machines Docker
Machines Files
Machines Power
Machines Workspace
Attention
Companion
Herdr
Lid Awake
Machines Terminal
Machines Thermal

Guides

Clone this wiki locally