mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-09-27 21:22:18 +08:00
92 lines
1.4 KiB
Groff
92 lines
1.4 KiB
Groff
.nh
|
|
.TH "cunīcu" "1" "Sep 2022" "https://github.com/stv0g/cunicu" ""
|
|
|
|
.SH NAME
|
|
.PP
|
|
cunicu-completion-bash - Generate the autocompletion script for bash
|
|
|
|
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\fBcunicu completion bash\fP
|
|
|
|
|
|
.SH DESCRIPTION
|
|
.PP
|
|
Generate the autocompletion script for the bash shell.
|
|
|
|
.PP
|
|
This script depends on the 'bash-completion' package.
|
|
If it is not installed already, you can install it via your OS's package manager.
|
|
|
|
.PP
|
|
To load completions in your current shell session:
|
|
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
source <(cunicu completion bash)
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
To load completions for every new session, execute once:
|
|
|
|
.SS Linux:
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
cunicu completion bash > /etc/bash_completion.d/cunicu
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.SS macOS:
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
cunicu completion bash > $(brew --prefix)/etc/bash_completion.d/cunicu
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
You will need to start a new shell for this setup to take effect.
|
|
|
|
|
|
.SH OPTIONS
|
|
.PP
|
|
\fB-h\fP, \fB--help\fP[=false]
|
|
help for bash
|
|
|
|
.PP
|
|
\fB--no-descriptions\fP[=false]
|
|
disable completion descriptions
|
|
|
|
|
|
.SH OPTIONS INHERITED FROM PARENT COMMANDS
|
|
.PP
|
|
\fB-C\fP, \fB--color\fP="auto"
|
|
Enable colorization of output (one of: auto, always, never)
|
|
|
|
.PP
|
|
\fB-l\fP, \fB--log-file\fP=""
|
|
path of a file to write logs to
|
|
|
|
.PP
|
|
\fB-d\fP, \fB--log-level\fP="info"
|
|
log level (one of: debug, info, warn, error, dpanic, panic, and fatal)
|
|
|
|
.PP
|
|
\fB-v\fP, \fB--verbose\fP=0
|
|
verbosity level
|
|
|
|
|
|
.SH SEE ALSO
|
|
.PP
|
|
\fBcunicu-completion(1)\fP
|