Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Allow history file location to be configured in ~/.myclirc. Previously it could only be moved with an environment variable. The environment variable still has precedence.

There are no tests as I couldn't figure out how to test this.

Fixes #1136.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format && uv run mypy --install-types . to lint and format the code.

@rolandwalker rolandwalker self-assigned this Jan 17, 2026
@rolandwalker rolandwalker requested a review from amjith January 17, 2026 14:26
Copy link
Contributor

@scottnemes scottnemes left a comment

Choose a reason for hiding this comment

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

Verified both envvar and new option work, and that the envvar has higher precedence. Looks good

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.

Query logged twice when logfile are specified

3 participants