# paths: treat empty XDG variables as unset · lucenx/signaltty

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

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

Visibility: public

Requested revision: 72b44ca2f74575b5fc619c0c27f8d4eb2abab8ee

Requested commit: 72b44ca2f74575b5fc619c0c27f8d4eb2abab8ee

Commit: 72b44ca2f74575b5fc619c0c27f8d4eb2abab8ee

Tree: 3804d825b435470c63160a7b8fd7661a41ce481c

Author: Lucenx9

Committer: Lucenx9

## Message

```
paths: treat empty XDG variables as unset

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.

```

## Parents

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

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