Add note about environment variables and dotfile management.

This commit is contained in:
2026-01-13 12:05:25 +01:00
parent 2429955bc0
commit e742681027

View File

@@ -25,6 +25,10 @@ export XDG_DATA_HOME="$HOME/.local/share" # ~/.local/share /usr/share
export XDG_STATE_HOME="$HOME/.var/lib" # ~/.local/state /var/lib
export XDG_CACHE_HOME="$HOME/.var/cache" # ~/.cache /var/cache
# I am not going to set environment variables such as HISTFILE,
# Since, cleaning up my $HOME is a losing battle, *every* application
# will put its crap there.
# Create symlinks from the defaults to our configured locations
# Since, not all applications follow the XDG base directory rules.
[ -L "$HOME/.local/state" ] ||