feat: apply XDG to Rust cargo directories

This commit is contained in:
Danielle McLean 2021-01-26 15:03:50 +11:00
parent bd70ac8ae0
commit 990afa5693
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -21,7 +21,8 @@ fi
newbins+=(~/.gem/ruby/*/bin(N) /usr/local/opt/ruby/bin)
# rust
newbins+=(~/.cargo/bin)
export CARGO_HOME=$XDG_DATA_HOME/cargo
newbins+=($CARGO_HOME/bin)
# perl
export -UT PERL_LOCAL_LIB_ROOT perl_local_lib_root