Skip to content

Support $xdg_config_home for user's main config file (~/.wp-cli/config.yml) #6053

@swissspidy

Description

@swissspidy

Discussed in https://github.com/orgs/wp-cli/discussions/5999

Originally posted by ZuBB October 1, 2024
Basically would be nice if wp-cli check also $xdg_config_home dir for its config file (in default settings it will be ~/.config/wp-cli/config.yml).

Motivation: wp-cli throws ANSI esc sequences in the terminal. so I need to set no-color globally. But I also like my ~/ to be uncluttered.

Some refs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions