Skip to content

Read favorite queries from an optional shared file - #2109

Merged
rolandwalker merged 1 commit into
mainfrom
RW/shared-favorites-file
Aug 7, 2026
Merged

Read favorite queries from an optional shared file#2109
rolandwalker merged 1 commit into
mainfrom
RW/shared-favorites-file

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Add a main.shared_favorites_file configuration option.

If set, favorite queries are loaded from that file, but never written to that file, so it currently must be composed in an editor.

Favorite queries in the user's ~/.myclirc take precedence over those in the shared file.

Fixes #1188.

Checklist

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

Add a main.shared_favorites_file configuration option.

If set, favorite queries are loaded from that file, but never written
to that file, so it currently must be composed in an editor.

Favorite queries in the user's ~/.myclirc take precedence over those in
the shared file.
@rolandwalker rolandwalker self-assigned this Aug 7, 2026
@rolandwalker
rolandwalker merged commit 35292a5 into main Aug 7, 2026
11 checks passed
@rolandwalker
rolandwalker deleted the RW/shared-favorites-file branch August 7, 2026 12:29
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.

[Feature request] Separate favorite_queries into a separate config file (or add an "include" keyword feature)

1 participant