From 3cb901253cb1b0a64aaa5b1cabcf02ce40480b02 Mon Sep 17 00:00:00 2001 From: Charlie39 Date: Mon, 27 Apr 2020 05:27:09 +0530 Subject: [PATCH] $XDG_CACHE_HOME env variable (#595) * $XDG_CACHE_HOME env variable XDG compliance * shortcut to cache directory * Update directories * Update directories * Update directories --- .config/directories | 3 ++- .zprofile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/directories b/.config/directories index 707a1c7..879219c 100644 --- a/.config/directories +++ b/.config/directories @@ -6,5 +6,6 @@ m ~/Music pp ~/Pictures vv ~/Videos cf ${XDG_CONFIG_HOME:-$HOME/.config} -sc ~/.local/bin +cac ${XDG_CACHE_HOME:-$HOME/.cache} +sc ~/.local/bin mn /mnt diff --git a/.zprofile b/.zprofile index 3ef64d2..8a9643b 100644 --- a/.zprofile +++ b/.zprofile @@ -17,6 +17,7 @@ export READER="zathura" # ~/ Clean-up: export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" +export XDG_CACHE_HOME="$HOME/.cache" #export XAUTHORITY="$XDG_RUNTIME_DIR/Xauthority" # This line will break some DMs. export NOTMUCH_CONFIG="${XDG_CONFIG_HOME:-$HOME/.config}/notmuch-config" export GTK2_RC_FILES="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-2.0/gtkrc-2.0"