Remove non-standard XDG_BIN_HOME

This commit is contained in:
2026-01-12 14:18:06 +01:00
parent 7b86a70071
commit e825b08f8c

View File

@@ -9,10 +9,10 @@
# https://specifications.freedesktop.org/basedir-spec/latest/ # https://specifications.freedesktop.org/basedir-spec/latest/
export XDG_CONFIG_HOME="$HOME/.config" # configuration files are stored (default: ~/.config) 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_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_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 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 PATH=".local/bin:$PATH"
if command -v nvim >/dev/null; then if command -v nvim >/dev/null; then
export EDITOR=nvim # use neovim as an editor export EDITOR=nvim # use neovim as an editor