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
Section titled “Supported shells”bash, zsh, fish, elvish, powershell.
linkup completion > /usr/local/etc/bash_completion.d/linkupOr, to load it inline in a session:
source <(linkup completion)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)linkup completion > ~/.config/fish/completions/linkup.fishTo load it inline in a session:
linkup completion | source