digitalocean / digitalocean/doctl

Error: neither $XDG_CONFIG_HOME nor $HOME are defined

Open
#877 12 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.