From 99d2ed79659b6f51304b2955fddbbefa4022be44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=AC=E5=AF=92?= <10476912+hycinth22@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:31:05 +0800 Subject: [PATCH] should use `&` to load completions for PowerShell (#1978) --- 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 d6f52ee5..884e4915 100644 --- a/src/building/suggested.md +++ b/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.` 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