mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Revert "doc: Mention XDG_DATA_HOME
"
This reverts commit 15a7672dde9853a8b15b545a1e5da5bbee7244c9.
This commit is contained in:
parent
c566be4742
commit
05b18b42cc
@ -1817,7 +1817,7 @@ When in doubt, you can discuss this in [#14520](https://github.com/rust-lang/car
|
||||
|
||||
### How to use native-completions feature:
|
||||
- bash:
|
||||
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.
|
||||
Add `source <(CARGO_COMPLETE=bash cargo +nightly)` to `~/.local/share/bash-completion/completions/cargo`.
|
||||
|
||||
- zsh:
|
||||
Add `source <(CARGO_COMPLETE=zsh cargo +nightly)` to your `.zshrc`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user