move xdg directories to the default location.
a lot of applications seem to hardcode this location, so it's better to have something default, or default-adjasoned.
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
#
|
||||
|
||||
# https://specifications.freedesktop.org/basedir-spec/latest/
|
||||
export XDG_CONFIG_HOME="$HOME/etc" # configuration files are stored (default: ~/.config)
|
||||
export XDG_DATA_HOME="$HOME/usr/share" # data files are stored (default: ~/.local/share)
|
||||
export XDG_BIN_HOME="$HOME/usr/bin" # binary executable files, not within the specification, but added for consistency
|
||||
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.
|
||||
export PATH="$XDG_BIN_HOME:$PATH" # add our bin in front of PATH, making it take precedence
|
||||
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_BIN_HOME="$HOME/.local/bin" # binary executable files, not within the specification, but added for consistency
|
||||
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.
|
||||
export PATH="$XDG_BIN_HOME:$PATH" # add our bin in front of PATH, making it take precedence
|
||||
|
||||
if command -v nvim >/dev/null; then
|
||||
export EDITOR=nvim # use neovim as an editor
|
||||
|
||||
0
usr/.gitignore → .local/.gitignore
vendored
0
usr/.gitignore → .local/.gitignore
vendored
Reference in New Issue
Block a user