Created
October 23, 2016 04:49
-
-
Save dbanetto/e6fd39ce03713ece9ee8d592d781752e to your computer and use it in GitHub Desktop.
zshenv for cargo/rustup in ~/.local/share
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (( SHLVL > 1 )); then | |
return 1 | |
fi | |
export RUST_SRC_PATH=~/.local/share/rustup/toolchains/<triple for sys>/lib/rustlib/src/rust/src | |
export CARGO_HOME=~/.local/share/cargo | |
export RUSTUP_HOME=~/.local/share/rustup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment