From 65c23a62529bd51e51d03c1e74c719e5af32d708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=AC=E5=AF=92?= <10476912+hycinth22@users.noreply.github.com> Date: Wed, 15 May 2024 01:52:40 +0800 Subject: [PATCH] should use `&` to load completions for PowerShell --- src/building/suggested.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/building/suggested.md b/src/building/suggested.md index 304e5acbf..814b698e2 100644 --- a/src/building/suggested.md +++ b/src/building/suggested.md @@ -315,7 +315,7 @@ Zsh support will also be included once issues with [`clap_complete`](https://cra You can use `source ./src/etc/completions/x.py.` 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