Skip to content

[feature] look for .conanrc in USERPROFILE / ~ #16431

@peakschris

Description

@peakschris

What is your suggestion?

If .conanrc is not found by searching up the directory structure, I would like it to be searched for in USERPROFILE (windows) or HOME (unix). This would allow global per-user configuration regardless of the location in the filesystem that conan is being run from.

I know that this can be set globally with CONAN_USER_HOME, but it is non-trivial to automatically set this environment variable in configuration scripts and have it apply to both current and future shells.

Have you read the CONTRIBUTING guide?

  • I've read the CONTRIBUTING guide

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions