Files
cunicu/docs/usage/man/wice-completion-bash.3
Steffen Vogel 1f92ad6f37 update generated usage docs
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-08-25 18:55:53 +02:00

84 lines
1.2 KiB
Groff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.nh
.TH "ɯice" "3" "Aug 2022" "https://github.com/stv0g/wice" ""
.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 > $(brew --prefix)/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 OPTIONS INHERITED FROM PARENT COMMANDS
.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)
.SH SEE ALSO
.PP
\fBwice-completion(3)\fP