fix(arty): work around glow ~ expansion bug in style path

glow v2.1.2 validates the style path with ~ expanded but passes the
original unexpanded string to glamour's file reader, causing ENOENT.
Fix: pass the style via --style flag so bash expands $HOME before glow
sees it. Revert glow.yml style to "auto" (unused when arty drives it).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-26 18:20:42 +02:00
co-authored by Claude Sonnet 4.6
parent f36e978846
commit f9d4ab8c33
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
# style name or JSON path (default "auto")
style: "~/.config/glow/nord.json"
style: "auto"
# mouse support (TUI-mode only)
mouse: false
# use pager to display markdown