summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 13:28:25 +0100
committeradamstuck <adam.moloney.stuck@gmail.com>2021-12-05 13:28:25 +0100
commitd9ae73575893656ab0078e3c3ebec04d2a61aa9a (patch)
tree008ec58b265101a922a1a83d03849067d9aaaf7a
parent66b147d8ba0492dea435142de820a627e20a2101 (diff)
Home folder cleanup
-rw-r--r--.bash_profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bash_profile b/.bash_profile
index 808aa38..0e0fd4e 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -11,6 +11,7 @@ export XDG_STATE_HOME=$HOME/.local/state
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
export XDG_CONFIG_DIRS="/etc/xdg"
+export MAKEFLAGS="-j$(nproc)"
export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
export HISTFILE="$XDG_STATE_HOME"/bash/history
export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
@@ -18,5 +19,12 @@ export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
export RANGER_LOAD_DEFAULT_RC=FALSE
+export CARGO_HOME=$XDG_DATA_HOME/cargo
+export MPLAYER_HOME=$XDG_CONFIG_HOME/mplayer
+export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
+export NUGET_PACKAGES="$XDG_CACHE_HOME"/NuGetPackages
+export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
+export GNUPGHOME="$XDG_DATA_HOME"/gnupg
+export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx "$XDG_CONFIG_HOME/X11/xinitrc" -- vt1