fix(zsh): keep both installation options for Rust
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
6fe8c6196e
commit
6ae61103c4
1 changed files with 6 additions and 1 deletions
|
@ -53,7 +53,12 @@ fi # added by Nix installer
|
||||||
# export RUSTUP_HOME=/opt/rustup
|
# export RUSTUP_HOME=/opt/rustup
|
||||||
# export CARGO_HOME=/opt/cargo
|
# export CARGO_HOME=/opt/cargo
|
||||||
# export PATH=/opt/cargo/bin:$PATH
|
# export PATH=/opt/cargo/bin:$PATH
|
||||||
export PATH=~/.cargo/bin:$PATH
|
|
||||||
|
# For user-space installation
|
||||||
|
# export PATH=~/.cargo/bin:$PATH
|
||||||
|
|
||||||
|
# For ‹/opt› installation
|
||||||
|
# export PATH=/opt/cargo/bin:$PATH
|
||||||
# [[ -s "/opt/cargo/env" ]] && source /opt/cargo/env
|
# [[ -s "/opt/cargo/env" ]] && source /opt/cargo/env
|
||||||
|
|
||||||
### Go ###
|
### Go ###
|
||||||
|
|
Loading…
Reference in a new issue