Revert "doc: Mention XDG_DATA_HOME"

This reverts commit 15a7672dde9853a8b15b545a1e5da5bbee7244c9.
This commit is contained in:
Ed Page 2025-05-09 09:19:07 -05:00
parent c566be4742
commit 05b18b42cc

View File

@ -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`.