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

[bug] No way to find omniconfig location on windows #917

Closed
1 task done
FedotCompot opened this issue Feb 7, 2025 · 5 comments
Closed
1 task done

[bug] No way to find omniconfig location on windows #917

FedotCompot opened this issue Feb 7, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@FedotCompot
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

It's my first time using omni, I'm (unfortunately) on a Windows 11 machine, I made some mistakes importing the config, now i have 5 contexts that are borked.

  1. I was not able to find out where is my omni config file (OMNICONFIG env variable is unset, .config/omni/config file does not exist)
  2. There seems to be no way to delete/unregister a context

Expected Behavior

Display file location in omnictl config info
A command like omnictl config unregister-context <name>

Steps To Reproduce

  1. Download omnictl
  2. Create new contexts

What browsers are you seeing the problem on?

No response

Anything else?

No response

@FedotCompot FedotCompot added the bug Something isn't working label Feb 7, 2025
@DmitriyMV
Copy link
Member

My best guess without windows machine at the hand ATM is to look into C:\Users\{username}\AppData\Local

@utkuozdemir
Copy link
Member

Omnictl uses XDG data directory specification. See XDG_CONFIG_HOME location here: https://github.com/adrg/xdg

@DmitriyMV
Copy link
Member

Kindly ping @FedotCompot - did answers above resolved you question?

@FedotCompot
Copy link
Author

Yeah, found it, it was in AppData\Local
Thank you!

@DmitriyMV
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants