Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XDG_CONFIG_HOME ignored by default on macOS #371

Closed
gfontenot opened this issue Mar 21, 2024 · 2 comments
Closed

XDG_CONFIG_HOME ignored by default on macOS #371

gfontenot opened this issue Mar 21, 2024 · 2 comments
Labels

Comments

@gfontenot
Copy link

Describe the bug
Despite having support for XDG_CONFIG_HOME in actions like organize list (as well as having support for finding configs in that location via find_config), the only way to use a config in that location is to explicitly set the ORGANIZER_CONFIG environment variable. It feels silly to have support built into the tool for this convention without supporting it for the most important use case.

Screenshots

❯ organize show
Error: Config problem
Cannot find config "/Users/fontenot/Library/Application Support/organize/config.yaml".
❯ organize list
┏━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Config ┃ Path                                         ┃
┡━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ config │ /Users/fontenot/.config/organize/config.yaml │
└────────┴──────────────────────────────────────────────┘

Environment (please complete the following information):

  • OS: macOS 14.3
  • Output of organize --version: organize v3.2.2
@gfontenot gfontenot added the bug label Mar 21, 2024
@gfontenot gfontenot changed the title XDG_CONFIG_HOME ignored by default on iOS XDG_CONFIG_HOME ignored by default on macOS Mar 21, 2024
@tfeldmann
Copy link
Owner

tfeldmann commented Mar 22, 2024

Thanks a lot for reporting. Yes this is silly and will be fixed in the next release 👍

EDIT: It's now fixed in the main branch.

@gfontenot
Copy link
Author

Thanks for the quick turnaround on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants