$XDG_CACHE_HOME env variable (#595)

* $XDG_CACHE_HOME env variable

XDG compliance

* shortcut to cache directory

* Update directories

* Update directories

* Update directories
This commit is contained in:
Charlie39 2020-04-27 05:27:09 +05:30 committed by GitHub
parent 8afc8de231
commit 3cb901253c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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"