2 ms·
Fully agree. In fact, we use these XDG helper functions. data_home() { printf %s\\n "${XDG_DATA_HOME:=$HOME/.local/share}" ; } cache_home() { printf %s
by jph 7y ago
Fully agree. In fact, we use these XDG helper functions.
data_home() { printf %s\\n "${XDG_DATA_HOME:=$HOME/.local/share}" ; }
cache_home() { printf %s\\n "${XDG_CACHE_HOME:=$HOME/.cache}" ; }
config_home() { printf %s\\n "${XDG_CONFIG_HOME:-$HOME/.config}" ; }
runtime_home() { printf %s\\n "${XDG_RUNTIME_HOME:=$HOME/.runtime}" ; }