macchina: [BUG] Won't read config file from $XDG_CONFIG_HOME/macchina/macchina.toml

Describe the bug Macchina won’t read my config file even though it’s in the correct location and can be parsed successfully. It doesn’t seem to be a parsing issue with my config file, because if I manually specify the config file, it works perfectly.

Platform is Macos, installed via nix package manager

To Reproduce Steps to reproduce the behavior:

  1. Install macchina
  2. Create macchina.toml file at $XDG_CONFIG_HOME/macchina/macchina.toml
  3. run macchina

Expected behavior It should use my config file by default, since it’s in the default location.

Screenshots macchina

System Information

  • Operating System: macOS
  • Terminal: Alacritty
  • Macchina’s version: 0.9.2

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (13 by maintainers)

Most upvoted comments

Thank you very much @grtcdr and @uttarayan21 !! The quick, helpful response and immediate action is really above and beyond for open source maintenance. I appreciate this tool and your contributions to it!

macchina does read it automatically but it works only on linux. There was also issue #97 due to that. Probably should update the readme reflecting that.

@gennaro-tedesco Can you post your macchina.toml so that I can reproduce it. We’ll try to make the changes non-breaking from now on.