# paths: treat empty XDG variables as unset \(\#58\) · lucenx/signaltty

[View on GitCafe](https://git.cafe/lucenx/signaltty/commit/1fcffa398f0dbbf028bcbe704f04353f9a01dabf)

Repository: [lucenx/signaltty](https://git.cafe/lucenx/signaltty)

Visibility: public

Requested revision: 1fcffa398f0dbbf028bcbe704f04353f9a01dabf

Requested commit: 1fcffa398f0dbbf028bcbe704f04353f9a01dabf

Commit: 1fcffa398f0dbbf028bcbe704f04353f9a01dabf

Tree: 42191099aef2027a80a782f132a006a231009feb

Author: Simone

Committer: GitHub

## Message

```
paths: treat empty XDG variables as unset (#58)

XDG_STATE_HOME= (or XDG_RUNTIME_DIR, XDG_CONFIG_HOME, XDG_DATA_HOME, HOME) set
to an empty string resolved to a relative 'signaltty' directory under the
process cwd. The XDG Base Directory spec says an empty value means unset.

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
```

## Parents

- [2bac06a4538c4e787f05cfac7c0a189e5ab444e3](https://git.cafe/lucenx/signaltty/commit/2bac06a4538c4e787f05cfac7c0a189e5ab444e3?format=markdown)

[Source at this commit](https://git.cafe/lucenx/signaltty/tree/1fcffa398f0dbbf028bcbe704f04353f9a01dabf?format=markdown)
