Skip to content

Commit 540f4ea

Browse files
authored
Merge pull request #1780 from yhoiseth/patch-1
Fix missing directory error
2 parents c818245 + a1f3bd9 commit 540f4ea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ $ rustup completions bash > ~/.local/share/bash_completion/completions/rustup
7373
$ rustup completions bash > $(brew --prefix)/etc/bash_completion.d/rustup.bash-completion
7474

7575
# Fish
76+
$ mkdir -p ~/.config/fish/completions
7677
$ rustup completions fish > ~/.config/fish/completions/rustup.fish
7778

7879
# Zsh

src/cli/help.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ r"DISCUSSION:
169169
`~/.local/share/bash_completion/completions` for user-specific commands.
170170
Run the command:
171171
172+
$ mkdir -p ~/.local/share/bash_completion/completions
172173
$ rustup completions bash >> ~/.local/share/bash_completion/completions/rustup
173174
174175
This installs the completion script. You may have to log out and
@@ -179,13 +180,15 @@ r"DISCUSSION:
179180
Homebrew stores bash completion files within the Homebrew directory.
180181
With the `bash-completion` brew formula installed, run the command:
181182
183+
$ mkdir -p $(brew --prefix)/etc/bash_completion.d
182184
$ rustup completions bash > $(brew --prefix)/etc/bash_completion.d/rustup.bash-completion
183185
184186
FISH:
185187
186188
Fish completion files are commonly stored in
187189
`$HOME/.config/fish/completions`. Run the command:
188190
191+
$ mkdir -p ~/.config/fish/completions
189192
$ rustup completions fish > ~/.config/fish/completions/rustup.fish
190193
191194
This installs the completion script. You may have to log out and

0 commit comments

Comments
 (0)