holzschu / holzschu/a-shell

Set `XDG_STATE_HOME`

Open
#786 3 comments 0 reactions 0 assignees View on GitHub
fix committed
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

From the [xdg basedir spec](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html):

> $XDG_STATE_HOME defines the base directory relative to which user-specific state files should be stored. If $XDG_STATE_HOME is either not set or empty, a default equal to $HOME/.local/state should be used.
>
> The $XDG_STATE_HOME contains state data that should persist between (application) restarts, but that is not important or portable enough to the user that it should be stored in $XDG_DATA_HOME. It may contain:
>
> - actions history (logs, history, recently used files, …)
>
> - current state of the application that can be reused on a restart (view, layout, open files, undo history, …)

I’m not entirely sure what it should be set to as I’m not familiar with iOS development, probably a folder inside `~/Library`

This is needed for [ani-cli](https://github.com/pystardust/ani-cli/issues/1350)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.