mirror of
https://codeberg.org/cunicu/cunicu.git
synced 2025-10-05 08:47:03 +08:00
79 lines
1.0 KiB
Groff
79 lines
1.0 KiB
Groff
.nh
|
|
.TH "MINE" "3" "Jan 2022" "Auto generated by spf13/cobra" ""
|
|
|
|
.SH NAME
|
|
.PP
|
|
wice-completion-bash - Generate the autocompletion script for bash
|
|
|
|
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\fBwice 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 <(wice completion bash)
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.PP
|
|
To load completions for every new session, execute once:
|
|
|
|
.SS Linux:
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
wice completion bash > /etc/bash_completion.d/wice
|
|
|
|
.fi
|
|
.RE
|
|
|
|
.SS macOS:
|
|
.PP
|
|
.RS
|
|
|
|
.nf
|
|
wice completion bash > /usr/local/etc/bash_completion.d/wice
|
|
|
|
.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 SEE ALSO
|
|
.PP
|
|
\fBwice-completion(3)\fP
|
|
|
|
|
|
.SH HISTORY
|
|
.PP
|
|
7-Jan-2022 Auto generated by spf13/cobra
|