Skip to content

Respect $XDG_CONFIG_HOME/pdb/.pdbrc path for PDB config discovery #133307

Open
@makukha

Description

@makukha

Proposal:

Enabling $XDG_CONFIG_HOME/pdb/.pdbrc would let users keep their $HOMEs organized.

The order of discovery and execution of .pdbrc files would be:

  • $XDG_CONFIG_HOME/pdb/.pdbrc
  • ~/.pdbrc
  • ./.pdbrc
  1. The choice of /pdb/ subdirectory under $XDG_CONFIG_HOME is questionable.
  2. Additional support of $XDG_CONFIG_DIRS is questionable.

I could provide PR if this feature sounds reasonable.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions