Rework comments for xdg directories.
This commit is contained in:
13
.profile
13
.profile
@@ -6,11 +6,14 @@
|
||||
# Used to set important variables, such as PATH, XDG_ and alike.
|
||||
#
|
||||
|
||||
# https://specifications.freedesktop.org/basedir-spec/latest/
|
||||
export XDG_CONFIG_HOME="$HOME/.config" # configuration files are stored (default: ~/.config)
|
||||
export XDG_DATA_HOME="$HOME/.local/share" # data files are stored (default: ~/.local/share)
|
||||
export XDG_STATE_HOME="$HOME/.var/lib" # state data that should persist between (application) restarts, but not important enough to be stored in XDG_DATA_HOME (default: ~/.local/state)
|
||||
export XDG_CACHE_HOME="$HOME/.var/cache" # user-specific non-essential (cached) data.
|
||||
# Read https://specifications.freedesktop.org/basedir-spec/latest/
|
||||
# or https://wiki.archlinux.org/title/XDG_Base_Directory
|
||||
# for more information about these values.
|
||||
# Default Analogous to
|
||||
export XDG_CONFIG_HOME="$HOME/.config" # ~/.config /etc
|
||||
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
|
||||
|
||||
export PATH=".local/bin:$PATH"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user