Skip to content

Base navi directory for cheats-path different from config-path #907

@parkero

Description

@parkero

Describe the bug
On macOS the base directory for cheats and config are different without NAVI_* environmental variables being present.

To Reproduce

% echo $(navi info config-path) 
/Users/parkero/.config/navi/config.yaml
% echo $(navi info cheats-path)`
/Users/parkero/Library/Application Support/navi/cheats

Expected behavior
Base navi path would be the same for both in the absence of user configuration

Versions:

  • Navi: 2.23.0
  • macOS: 13.6.6
  • zsh 5.9 (x86_64-apple-darwin22.0)

Additional context
This came to my attention as I had a previous config.yaml changing my colors, but when I went to edit the config (through the default navi cheat "edit config file") it showed an empty file.

Either location seems fine, but odd to have them spread throughout the file tree.

I can write up a pull request if I know what the desired behavior should be, or feel free to close if working as intended.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions