Files
bat/src
Rizky Mirzaviandy Priambodo 9cce9e04d2 Fix BAT_CONFIG_DIR pointing at system config dir causing duplicate flag errors
When BAT_CONFIG_DIR is set to the system config directory (e.g. /etc/bat),
both system_config_file() and config_file() resolve to /etc/bat/config.
The config file was read twice, causing clap errors for non-repeatable flags
like --italic-text.

Skip the user config read when it resolves to the same file as the system
config, using canonicalization to also handle symlinks.

Closes #3589
2026-03-08 12:20:27 +07:00
..
2023-03-14 21:19:14 +01:00
…
2025-08-19 05:07:54 +02:00
2025-04-02 11:27:37 +02:00
2025-07-15 16:36:58 -07:00
2024-08-18 10:05:37 +02:00
…
2025-12-11 05:49:46 +01:00
2026-03-03 05:18:49 +02:00