Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
superatomic opened this issue May 23, 2022 · 0 comments · May be fixed by #163
Open

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

superatomic opened this issue May 23, 2022 · 0 comments · May be fixed by #163
Labels
enhancement New feature or request feature Added functionality good first issue Good for newcomers

Comments

@superatomic
Copy link
Owner

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.
@superatomic superatomic added enhancement New feature or request good first issue Good for newcomers feature Added functionality labels May 23, 2022
@razvanazamfirei razvanazamfirei linked a pull request Nov 10, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature Added functionality good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant