Skip to content

diffr: read the config file from DIFFR_CONFIG_DIR when it is set - #1039

Draft
sidkmenon wants to merge 1 commit into
sm/diffr-first-word-winsfrom
sm/diffr-config-dir
Draft

sidkmenon wants to merge 1 commit into
sm/diffr-first-word-winsfrom
sm/diffr-config-dir

Conversation

@sidkmenon

@sidkmenon sidkmenon commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

A host such as Whiteboard can now keep its own diffr config file. Before,
the only way was to change XDG_CONFIG_HOME, and plugins inherit diffr's
environment, so they saw the change too. Without the variable, diffr
reads the same file as before.

Tests: CLI tests, with DIFFR_CONFIG_DIR and XDG_CONFIG_HOME both set.

@sidkmenon
sidkmenon added this pull request to stack #1041 October 8, 2026 19:06
A host such as Whiteboard can now keep its own diffr config file. Before,
the only way was to change XDG_CONFIG_HOME, and plugins inherit diffr's
environment, so they saw the change too. Without the variable, diffr
reads the same file as before.

Tests: CLI tests, with DIFFR_CONFIG_DIR and XDG_CONFIG_HOME both set.

Agent-Session: 01a11aca-5007-7b80-ad35-c0a0f746a05d
Agent-Session: ec5d2c35-3045-44f3-9c41-ba4378797c8e
@sidkmenon
sidkmenon force-pushed the sm/diffr-config-dir branch from 05a4a66 to 645b53c Compare October 8, 2026 19:15
@sidkmenon
sidkmenon force-pushed the sm/diffr-first-word-wins branch from ba897eb to 636191d Compare October 8, 2026 19:15
@sidkmenon
sidkmenon removed this pull request from stack #1041 October 8, 2026 23:43

This branch has not been deployed

No deployments
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.

1 participant