-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I set my $XDG_CONFIG_HOME to ~/.config on my macOS system, and symlinked bombadil.toml there. The docs mention $XDG_CONFIG_DIR so I also set that (though the XDG spec suggests it should be $XDG_CONFIG_DIRS, but whatever is set I get an error from bombadil (my shell is elvish, though I get the same error in zsh):
ε ◎ put $E:XDG_CONFIG_DIR $E:XDG_CONFIG_HOME
▶ /Users/ian/.config/
▶ /Users/ian/.config
ε ➪ bombadil get path
Unable to find bombadil settings file /Users/ian/Library/Application Support/bombadil.toml
Exception: bombadil exited with 1
I'd prefer not to hae this hard-coded but follow the XDG variables.
To Reproduce
- symlink to the default
~/.configXDG config directory on macOS with the$XDG_CONFIG_HOMEvar set.
Expected behavior
Find bombadil.toml in ~/.config/bombadil.toml (maybe on macOS you can search either location), but if $XDG_CONFIG_HOME is specified always use that.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working