Skip to content

Latest commit

 

History

History
54 lines (35 loc) · 1.05 KB

shell-completion.md

File metadata and controls

54 lines (35 loc) · 1.05 KB

Shell Completion

linkup completion prints a shell-completion script to standard output, auto-detecting your shell from $SHELL. Pipe it to the right place for your shell and tab-completion will work for Linkup invocations.

To generate completions for a different shell (for example when packaging), pass --shell <bash|zsh|fish|elvish|powershell> explicitly.

Supported shells

bash, zsh, fish, elvish, powershell.

Bash

linkup completion > /usr/local/etc/bash_completion.d/linkup

Or, to load it inline in a session:

source <(linkup completion)

Zsh

linkup completion > "${fpath[1]}/_linkup"

Reload your shell or run compinit for the completion to take effect.

To load it inline in a session:

source <(linkup completion)

Fish

linkup completion > ~/.config/fish/completions/linkup.fish

To load it inline in a session:

linkup completion | source

← Config Reference · Docs home · Cloudflare Resources →