Skip to content

Conversation

@theodore-s-beers
Copy link
Member

@theodore-s-beers theodore-s-beers commented Jan 13, 2026

See also #100. I favored a different implementation but have added the author of that PR as a co-author here.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for respecting the XDG_CONFIG_HOME environment variable when creating new configuration files, improving adherence to XDG Base Directory standards on Unix-like systems. The PR also includes minor improvements to error message consistency and documentation formatting.

Changes:

  • Add XDG_CONFIG_HOME support for new config file creation in cmd/root.go
  • Standardize error message capitalization (lowercase sentence start) across client code
  • Update README documentation and improve code block formatting (bash → sh, proper indentation)

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
cmd/root.go Implements XDG_CONFIG_HOME environment variable support when creating new config files, with fallback to home directory dotfile
client/lessons.go Normalizes error message capitalization from "To run" to "to run"
client/auth.go Normalizes error message capitalization from "To run" to "to run"
README.md Updates documentation about config file location and improves formatting (bash→sh, proper indentation of nested content)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants