Skip to content

Commit 06a3f3b

Browse files
authored
should use & to load completions for PowerShell (rust-lang#1978)
1 parent 43eaf6d commit 06a3f3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/building/suggested.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Zsh support will also be included once issues with [`clap_complete`](https://cra
314314

315315
You can use `source ./src/etc/completions/x.py.<extension>`
316316
to load completions for your shell of choice,
317-
or `source .\src\etc\completions\x.py.ps1` for PowerShell.
317+
or `& .\src\etc\completions\x.py.ps1` for PowerShell.
318318
Adding this to your shell's startup script (e.g. `.bashrc`) will automatically load this completion.
319319

320320
[`src/etc/rust_analyzer_settings.json`]: https://github.com/rust-lang/rust/blob/master/src/etc/rust_analyzer_settings.json

0 commit comments

Comments
 (0)