summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie39 <charlie39@users.noreply.github.com>2020-04-27 05:27:09 +0530
committerGitHub <noreply@github.com>2020-04-26 19:57:09 -0400
commit3cb901253cb1b0a64aaa5b1cabcf02ce40480b02 (patch)
treed0f5d717a40018603d1fba5d6c9e5d5ecf983ee8
parent8afc8de231f06c4df8ea47ce6b7e36ce8f3da4c9 (diff)
downloadeibhear-3cb901253cb1b0a64aaa5b1cabcf02ce40480b02.tar.gz
eibhear-3cb901253cb1b0a64aaa5b1cabcf02ce40480b02.tar.zst
eibhear-3cb901253cb1b0a64aaa5b1cabcf02ce40480b02.zip
$XDG_CACHE_HOME env variable (#595)
* $XDG_CACHE_HOME env variable XDG compliance * shortcut to cache directory * Update directories * Update directories * Update directories
-rw-r--r--.config/directories3
-rw-r--r--.zprofile1
2 files changed, 3 insertions, 1 deletions
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"