File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ gist is as simple as using one of the following:
66
66
# Bash
67
67
$ rustup completions bash > /etc/bash_completion.d/rustup.bash-completion
68
68
69
+ # Bash (macOS/Homebrew)
70
+ $ rustup completions bash > $(brew --prefix)/etc/bash_completion.d/rustup.bash-completion
71
+
69
72
# Fish
70
73
$ rustup completions fish > ~/.config/fish/completions/rustup.fish
71
74
Original file line number Diff line number Diff line change @@ -162,6 +162,13 @@ r"DISCUSSION:
162
162
This installs the completion script. You may have to log out and
163
163
log back in to your shell session for the changes to take affect.
164
164
165
+ BASH (macOS/Homebrew):
166
+
167
+ Homebrew stores bash completion files within the Homebrew directory.
168
+ With the `bash-completion` brew formula installed, run the command:
169
+
170
+ `rustup completions bash > $(brew --prefix)/etc/bash_completion.d/rustup.bash-completion`
171
+
165
172
FISH:
166
173
167
174
Fish completion files are commonly stored in
You can’t perform that action at this time.
0 commit comments