diff options
| author | 听寒 <10476912+hycinth22@users.noreply.github.com> | 2024-06-04 13:31:05 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-04 06:31:05 +0100 |
| commit | a92a91b016ba6ea0942c81dfdd2b3e17ce98ebca (patch) | |
| tree | 907ac21298cb39cc22af4e7d722ba990b9bce92d /src | |
| parent | 244bbab256a640bf6aec34796ba4947b78872740 (diff) | |
| download | rust-a92a91b016ba6ea0942c81dfdd2b3e17ce98ebca.tar.gz rust-a92a91b016ba6ea0942c81dfdd2b3e17ce98ebca.zip | |
should use `&` to load completions for PowerShell (#1978)
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/building/suggested.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/building/suggested.md b/src/doc/rustc-dev-guide/src/building/suggested.md index d6f52ee56f2..884e4915d34 100644 --- a/src/doc/rustc-dev-guide/src/building/suggested.md +++ b/src/doc/rustc-dev-guide/src/building/suggested.md @@ -314,7 +314,7 @@ Zsh support will also be included once issues with [`clap_complete`](https://cra You can use `source ./src/etc/completions/x.py.<extension>` to load completions for your shell of choice, -or `source .\src\etc\completions\x.py.ps1` for PowerShell. +or `& .\src\etc\completions\x.py.ps1` for PowerShell. Adding this to your shell's startup script (e.g. `.bashrc`) will automatically load this completion. [`src/etc/rust_analyzer_settings.json`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_settings.json |
