Skip to content

CLI Getting Started Completions Zsh

github-actions[bot] edited this page Aug 9, 2026 · 1 revision

ed completions zsh

Prints the zsh completion script on stdout so you can place it yourself.

ed completions zsh

No options of its own; --help and --version are generated. What it prints is byte for byte what install would have written, so redirecting it into the right directory is a complete substitute for installing, minus the profile edit and the recorded path.

Examples

ed completions zsh
ed completions zsh > ~/.zsh/completions/_ed

The script starts with #compdef ed edh edith and defines _ed_complete, which shells out to ed __complete --index $((CURRENT-1)) -- "${words[@]}", treats a line of #files as a call to _files, and passes everything else to compadd. It handles being loaded either as an autoloaded function or sourced directly.

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
Companion
Herdr
Lid Awake
Machines Thermal

Guides

Clone this wiki locally