completions: Zsh is now supported (#2173)
This commit is contained in:
parent
6af30f87b7
commit
b746f63983
|
|
@ -376,11 +376,9 @@ pkgs.mkShell {
|
||||||
|
|
||||||
## Shell Completions
|
## Shell Completions
|
||||||
|
|
||||||
If you use Bash, Fish or PowerShell, you can find automatically-generated shell
|
If you use Bash, Zsh, Fish or PowerShell, you can find automatically-generated shell
|
||||||
completion scripts for `x.py` in
|
completion scripts for `x.py` in
|
||||||
[`src/etc/completions`](https://github.com/rust-lang/rust/tree/master/src/etc/completions).
|
[`src/etc/completions`](https://github.com/rust-lang/rust/tree/master/src/etc/completions).
|
||||||
Zsh support will also be included once issues with
|
|
||||||
[`clap_complete`](https://crates.io/crates/clap_complete) have been resolved.
|
|
||||||
|
|
||||||
You can use `source ./src/etc/completions/x.py.<extension>` to load completions
|
You can use `source ./src/etc/completions/x.py.<extension>` to load completions
|
||||||
for your shell of choice, or `& .\src\etc\completions\x.py.ps1` for PowerShell.
|
for your shell of choice, or `& .\src\etc\completions\x.py.ps1` for PowerShell.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue