Skip to content

Commit 15a7672

Browse files
authored
1 parent fbd7d9b commit 15a7672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/src/reference/unstable.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ When in doubt, you can discuss this in [#14520](https://github.com/rust-lang/car
18161816

18171817
### How to use native-completions feature:
18181818
- bash:
1819-
Add `source <(CARGO_COMPLETE=bash cargo +nightly)` to `~/.local/share/bash-completion/completions/cargo`.
1819+
Add `source <(CARGO_COMPLETE=bash cargo +nightly)` to `$XDG_DATA_HOME/bash-completion/completions/cargo`, or `~/.local/share/bash-completion/completions/cargo` if `XDG_DATA_HOME` is not set.
18201820

18211821
- zsh:
18221822
Add `source <(CARGO_COMPLETE=zsh cargo +nightly)` to your `.zshrc`.

0 commit comments

Comments
 (0)