ADD xdg path for rubygems

This commit is contained in:
Nathan Dwarshuis 2021-04-25 14:38:15 -04:00
parent 79bd2e5b09
commit 5f709d5a8a
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,10 @@ userresources="$XDG_CONFIG_HOME/X11/xresources"
systemctl --user import-environment PATH
systemctl --user import-environment DISPLAY
# add gempath to PATH
gempaths="$(/usr/bin/gem env gempath):"
export PATH="${gempaths//:/\/bin:}/bin:$PATH"
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi

View File

@ -17,6 +17,8 @@ CCNET_CONF_DIR DEFAULT=${XDG_CONFIG_HOME}/ccnet
# user_subvol_rm_allowed mount option on the host filesystem
DOCKER_HOST DEFAULT=unix://${XDG_RUNTIME_DIR}/docker.sock
GEM_HOME DEFAULT=${XDG_DATA_HOME}/gem
GEM_SPEC_CACHE DEFAULT=${XDG_CACHE_HOME}/gem
GRIPHOME DEFAULT=${XDG_CONFIG_HOME}/grip
GTK2_RC_FILES DEFAULT=${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
STACK_ROOT DEFAULT=${XDG_DATA_HOME}/stack