Skip to content

Commit 788bf92

Browse files
authored
Document how to generate prefixed completions (#8817)
* Document how to generate prefixed completions
1 parent 02312bf commit 788bf92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,11 @@ So, to install completions for `ls` on `bash` to
256256
cargo run completion ls bash > /usr/local/share/bash-completion/completions/ls
257257
```
258258

259+
Completion for prefixed `cp` with `uu-` on `zsh` is generated by
260+
```shell
261+
env PROG_PREFIX=uu- cargo run completion cp zsh
262+
```
263+
259264
### Manually install manpages
260265

261266
To generate manpages, the syntax is:

0 commit comments

Comments
 (0)