File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -59,11 +59,11 @@ you are ready to Rust. If you decide Rust isn't your thing, you can
59
59
completely remove it from your system by running `rustup self
60
60
uninstall`.
61
61
62
- #### Enable tab completion for Bash, Fish, or Zsh
62
+ #### Enable tab completion for Bash, Fish, Zsh, or PowerShell
63
63
64
64
` rustup ` now supports generating completion scripts for Bash, Fish,
65
- and Zsh . See ` rustup help completions ` for full details, but the
66
- gist is as simple as using one of the following:
65
+ Zsh, and PowerShell . See ` rustup help completions ` for full details,
66
+ but the gist is as simple as using one of the following:
67
67
68
68
```
69
69
# Bash
@@ -77,6 +77,11 @@ $ rustup completions fish > ~/.config/fish/completions/rustup.fish
77
77
78
78
# Zsh
79
79
$ rustup completions zsh > ~/.zfunc/_rustup
80
+
81
+ # PowerShell v5.0+
82
+ $ rustup completions powershell >> $PROFILE.CurrentUserCurrentHost
83
+ # or
84
+ $ rustup completions powershell | Out-String | Invoke-Expression
80
85
```
81
86
82
87
* Note:* you may need to restart your shell in order for the changes to take
You can’t perform that action at this time.
0 commit comments