1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
3e681a94b1
environment: override GEM_HOME to prevent ~/.gem
Note from the Arch Wiki:
    Make sure to remove gem: --user-install from /etc/gemrc

https://wiki.archlinux.org/index.php/XDG_Base_Directory#Ruby

Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-05 09:43:27 +00:00
ab7532e250
environment: move PATH additions to 20-xdg-overrides
Signed-off-by: Joe Groocock <me@frebib.net>
2021-01-05 09:43:02 +00:00
2 changed files with 5 additions and 1 deletions

View File

@ -9,6 +9,6 @@ XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
EDITOR="vim" EDITOR="vim"
VISUAL="vim" VISUAL="vim"
PATH="${PATH}:/sbin:/usr/sbin:${XDG_CONFIG_HOME}/scripts:${GOPATH}/bin" PATH="${PATH}:/sbin:/usr/sbin:${XDG_CONFIG_HOME}/scripts"
# vim: ft=sh # vim: ft=sh

View File

@ -4,6 +4,8 @@
ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl" ASPELL_CONF="per-conf $XDG_CONFIG_HOME/aspell/aspell.conf; personal $XDG_CONFIG_HOME/aspell/en.pws; repl $XDG_CONFIG_HOME/aspell/en.prepl"
CARGO_HOME="$XDG_DATA_HOME/cargo" CARGO_HOME="$XDG_DATA_HOME/cargo"
GNUPGHOME="$XDG_CONFIG_HOME/gnupg" GNUPGHOME="$XDG_CONFIG_HOME/gnupg"
GEM_HOME="$XDG_DATA_HOME/gem"
GEM_SPEC_CACHE="$XDG_CACHE_HOME/gem"
GOPATH="$XDG_DATA_HOME/go" GOPATH="$XDG_DATA_HOME/go"
ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority" ICEAUTHORITY="$XDG_CACHE_HOME/ICEauthority"
NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc" NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
@ -20,4 +22,6 @@ WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
XINITRC="$XDG_CONFIG_HOME/X11/xinitrc" XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
ZDOTDIR="$XDG_CONFIG_HOME/zsh" ZDOTDIR="$XDG_CONFIG_HOME/zsh"
PATH="${PATH}:${GOPATH}/bin:${GEM_HOME}/bin"
# vim: ft=sh # vim: ft=sh