.\" Pipe this output to groff -m man -K utf8 -T utf8 | less -R .\" .mso an.tmac .TH "DUNE-COMPLETION" 1 "" "Dune 3.25.0" "Dune Manual" .\" Disable hyphenation and ragged-right .nh .ad l .SH NAME .P dune\-completion \- Generate shell completion scripts\N'46' .SH SYNOPSIS .P \fBdune completion\fR [\fIOPTION\fR]… \fISHELL\fR .SH DESCRIPTION .P Generate a completion script in the specified shell for the dune binary\N'46' This will enable tab\-completion of dune commands, subcommands, and flags\N'46' .SH SHELL .P The shell for which you want dune completion\N'46' .TP 4 \fBbash\fR Print out a bash completion script\N'46' It should then be written to a file that will be sourced, for example in ~/\N'46'local/share/bash\-completion/completions/dune\N'46' Alternatively, it can be sourced directly by adding this line to your \N'46'bashrc: .P .nf eval "$(dune completion bash)" .fi .TP 4 \fBzsh\fR Print out a zsh completion script\N'46' It should then be written to a file named _dune in a directory that will be autoloaded, for example in ~/\N'46'local/share/zsh/site\-functions\N'46' Make sure that that directory is in your $fpath by adding this line to your \N'46'zshrc before `compinit`: .P .nf fpath+=~/\N'46'local/share/zsh/site\-functions .fi .TP 4 \fBfish\fR Print out a fish completion script\N'46' It should then be written to a file named dune\N'46'fish in a directory that fish autoloads completions from, for example ~/\N'46'config/fish/completions: .P .nf dune completion fish > ~/\N'46'config/fish/completions/dune\N'46'fish .fi .TP 4 \fBpowershell\fR Print out a powershell completion script\N'46' It should then be written to a file that will be sourced, for example in $PROFILE\N'46'CurrentUserCurrentHost\N'46' Alternatively, it can be sourced directly by adding this line to your profile script: .P .nf dune completion powershell | Out\-String | Invoke\-Expression .fi .SH ARGUMENTS .TP 4 \fISHELL\fR (required) The shell for which you want dune completion\N'46' Possible values are bash, zsh, fish or powershell .SH COMMON OPTIONS .TP 4 \fB\-\-help\fR[=\fIFMT\fR] (default=\fBauto\fR) Show this help in format \fIFMT\fR\N'46' The value \fIFMT\fR must be one of \fBauto\fR, \fBpager\fR, \fBgroff\fR or \fBplain\fR\N'46' With \fBauto\fR, the format is \fBpager\fR or \fBplain\fR whenever the \fBTERM\fR env var is \fBdumb\fR or undefined\N'46' .TP 4 \fB\-\-version\fR Show version information\N'46' .SH EXIT STATUS .P \fBdune completion\fR exits with: .TP 4 0 on success\N'46' .TP 4 1 if an error happened\N'46' .TP 4 130 if it was interrupted by a signal\N'46' .SH SEE ALSO .P dune(1)