Push Ruby Bundler directories into XDG dirs

This commit is contained in:
Danielle McLean 2022-07-12 11:04:31 +10:00
parent 8bbc4bd3f2
commit efb24fc3f6
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -26,6 +26,9 @@ fi
# ruby
newbins+=(~/.gem/ruby/*/bin(N) /usr/local/opt/ruby/bin /usr/local/lib/ruby/gems/*/bin(N))
export BUNDLE_USER_CONFIG=$XDG_CONFIG_HOME/bundle
export BUNDLE_USER_CACHE=$XDG_CACHE_HOME/bundle
export BUNDLE_USER_PLUGIN=$XDG_DATA_HOME/bundle
# rust
export CARGO_HOME=$XDG_DATA_HOME/cargo