minimal vimrc and better xdg support thanks to b3nj5m1n/xdg-ninja

This commit is contained in:
js0ny 2024-11-13 00:38:35 +00:00
parent 1ef5283598
commit 165037d840
11 changed files with 109 additions and 5 deletions

View file

@ -4,4 +4,12 @@
# Use XDG Base Directory Specification
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}"
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
# Zsh
export ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
# Also put in /etc/zsh/zshenv