Add note about environment variables and dotfile management.
This commit is contained in:
4
.profile
4
.profile
@@ -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_STATE_HOME="$HOME/.var/lib" # ~/.local/state /var/lib
|
||||||
export XDG_CACHE_HOME="$HOME/.var/cache" # ~/.cache /var/cache
|
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
|
# Create symlinks from the defaults to our configured locations
|
||||||
# Since, not all applications follow the XDG base directory rules.
|
# Since, not all applications follow the XDG base directory rules.
|
||||||
[ -L "$HOME/.local/state" ] ||
|
[ -L "$HOME/.local/state" ] ||
|
||||||
|
|||||||
Reference in New Issue
Block a user