ADD xdg path for rubygems
This commit is contained in:
parent
79bd2e5b09
commit
5f709d5a8a
|
@ -5,6 +5,10 @@ userresources="$XDG_CONFIG_HOME/X11/xresources"
|
||||||
systemctl --user import-environment PATH
|
systemctl --user import-environment PATH
|
||||||
systemctl --user import-environment DISPLAY
|
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
|
if [ -f "$userresources" ]; then
|
||||||
xrdb -merge "$userresources"
|
xrdb -merge "$userresources"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -17,6 +17,8 @@ CCNET_CONF_DIR DEFAULT=${XDG_CONFIG_HOME}/ccnet
|
||||||
# user_subvol_rm_allowed mount option on the host filesystem
|
# user_subvol_rm_allowed mount option on the host filesystem
|
||||||
|
|
||||||
DOCKER_HOST DEFAULT=unix://${XDG_RUNTIME_DIR}/docker.sock
|
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
|
GRIPHOME DEFAULT=${XDG_CONFIG_HOME}/grip
|
||||||
GTK2_RC_FILES DEFAULT=${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
|
GTK2_RC_FILES DEFAULT=${XDG_CONFIG_HOME}/gtk-2.0/gtkrc
|
||||||
STACK_ROOT DEFAULT=${XDG_DATA_HOME}/stack
|
STACK_ROOT DEFAULT=${XDG_DATA_HOME}/stack
|
||||||
|
|
Loading…
Reference in New Issue