LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pueue-completions

Generate shell completion scripts for pueue

TLDR

Generate bash completions
$ pueue completions bash [output_directory]
copy
Generate zsh completions
$ pueue completions zsh [output_directory]
copy
Generate fish completions
$ pueue completions fish [output_directory]
copy
Generate elvish completions
$ pueue completions elvish [output_directory]
copy
Generate PowerShell completions
$ pueue completions power-shell [output_directory]
copy

SYNOPSIS

pueue completions shell output-directory

DESCRIPTION

pueue completions writes a shell completion script for the pueue client to a directory on disk. The generated file name depends on the shell: pueue.bash for bash, _pueue for zsh, pueue.fish for fish, and so on. After generation, the file should be sourced or placed in a directory on your shell's completion path (for example ~/.local/share/bash-completion/completions/ or $fpath for zsh).

PARAMETERS

shell

Shell to generate completions for: bash, elvish, fish, power-shell, or zsh.
output-directory
Directory in which the completion file will be written. Pueue chooses the file name (e.g. pueue for zsh, pueue.fish for fish).

CAVEATS

Unlike many Rust CLI tools that print completions to stdout, pueue completions takes a target directory as its second argument and writes the file there. Pipe-based redirection will not work.

SEE ALSO

pueue(1), pueued(1)

Copied to clipboard
Kai