-
Notifications
You must be signed in to change notification settings - Fork 207
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
feat: Add XDG_CONFIG_HOME
/.config
to search of pixi global manifest path
#2547
Conversation
XDG_CONFIG_HOME
/.config
to search of pixi global manifest pathXDG_CONFIG_HOME
/.config
to search of pixi global manifest path
ccb44fa
to
e1058ac
Compare
@hoxbro thanks for your contribution! I've extended your PR and fixed a few problems with it, docs are now present as well. Also tried to add tests, but had to give up on that. I simply couldn't find a way to set environment variables without influencing other tests. |
Hey I checked it out, but it will always try to write into the Please check if it exists first. |
Should be fixed now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two more small docs fixes and then it looks fine to me!
Co-authored-by: Ruben Arts <[email protected]>
Co-authored-by: Ruben Arts <[email protected]>
…st path (prefix-dev#2547) Follow up on the question asked here: https://discord.com/channels/1082332781146800168/1307282213770891329 This will search `$XDG_CONFIG_HOME/pixi/pixi-global.toml`, then `~.config/pixi/pixi-global.toml`, and at last, the current location `$PIXI_HOME/manifests/pixi-global.toml`. The code could be better, so I would love feedback. TODO: - Need to add some tests (not entirely sure how easy this would be with being dependent on the filesystem) - Update the https://pixi.sh/latest/features/global_tools/#manifest-locations --------- Co-authored-by: Hofer-Julian <[email protected]> Co-authored-by: Julian Hofer <[email protected]> Co-authored-by: Ruben Arts <[email protected]>
Follow up on the question asked here: https://discord.com/channels/1082332781146800168/1307282213770891329
This will search
$XDG_CONFIG_HOME/pixi/pixi-global.toml
, then~.config/pixi/pixi-global.toml
, and at last, the current location$PIXI_HOME/manifests/pixi-global.toml
.The code could be better, so I would love feedback.
TODO: