Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Add $XSHE_FILE environment variable to customize the default location of xshe.toml #83

@superatomic

Description

@superatomic

The environment variable $XSHE_FILE should be able to set where xshe checks for its configuration file if none of the flags -p, -t, or -f are set.

Right now, the program checks locations in this order:

  • $XDG_CONFIG_HOME/xshe.toml, if $XDG_CONFIG_HOME is set.
  • ~/.config/xshe.toml.

The desired behavior is add the following check before the other 2:

  • $XSHE_FILE, if $XSHE_FILE is set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions