From d49395722b0d85e2147041443509f1d68b06a1bf Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Wed, 23 Dec 2020 13:45:13 +0100 Subject: [PATCH] profile: update some paths & enforce more XDG --- .ignore | 9 +++++---- .zprofile | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.ignore b/.ignore index 35678fb..3dcbe9d 100644 --- a/.ignore +++ b/.ignore @@ -1,4 +1,5 @@ -data/ -daten/ -games/ -.cache/ +/data/ +/daten/ +/games/ +/.cache/ +build/ diff --git a/.zprofile b/.zprofile index 419d550..4402758 100644 --- a/.zprofile +++ b/.zprofile @@ -1,15 +1,23 @@ # xdg +export DATA="$HOME/data" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" export XDG_CONFIG_HOME="$HOME/.config" # adjust programs to use xdg #export XAUTHORITY="$XDG_CACHE_HOME/Xauthority" #export XAUTHORITY="/tmp/Xauthority" -export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass" -export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle" +export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass +export GNUPGHOME="$XDG_DATA_HOME"/gnupg +export GOPATH="$XDG_DATA_HOME"/go +export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc +export RLWRAP_HOME="$XDG_DATA_HOME"/rlwrap + # Java & Android export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME/java" -export GNUPGHOME="$XDG_DATA_HOME/gnupg" - +export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle +export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME"/android +export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/emulator +export ANDROID_SDK_ROOT="/opt/android/sdk" + # taskwarrior & timewarrior export TIMEWARRIORDB="$XDG_DATA_HOME/timewarrior" export TASKRC="$XDG_CONFIG_HOME/task/taskrc" export TASKDATA="$XDG_DATA_HOME/task"