Skip to content

Feature: Support recursive .gh-config-dir search #12583

@danielo515

Description

@danielo515

Describe the feature or problem you’d like to solve

I'd like to request support for automatically discovering a .gh-config-dir by walking up the directory tree, similar to how other tools handle config files.

This way I can have a per-folder configuration without having to set env variables on each folder.

The goal is to use various accounts without having to modify anything within projects folder

Proposed solution

Recursive search to parent directories until a gh-config folder is found, or use ~/.gh-config as fallback

Additional context

Other tools like direnv or npm follow this pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions