digitalocean / digitalocean/doctl
Error: neither $XDG_CONFIG_HOME nor $HOME are defined
Open
bug
Needs Investigation
snap
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 496
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 31
Description
**Describe the Issue:**
Attempt to run doctl and all it will do is return:
`Error: neither $XDG_CONFIG_HOME nor $HOME are defined`
**Environment:**
doctl version
Error: neither $XDG_CONFIG_HOME nor $HOME are defined
(v1.48.0 installed as latest/stable according to 'snap info doctl')
- OS: openSUSE 15.2
- Installation method: Snap package
**Additional Details:**
$XDG_CONFIG_HOME returns null
$HOME returns my home directory
My default shell is zsh.
Running doctl in bash yields the same result.
I use other snap apps regularly, with Spotify seeing daily use.
Contributor guide
Assessment
This issue has not been assessed yet.