News for hackers. Stuff that matters.
Re:Show HN: Z shell configuration, zsh startup files, when t... by jph on Thursday October 17, 2019 @03:39AM (#21279773)
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}" ; }

There are no comments on this comment yet.