Skip to content

Commit

Permalink
fix: also install xterm terminfo
Browse files Browse the repository at this point in the history
Without it, Alacritty doesn't get italics right :/
  • Loading branch information
benknoble committed Oct 19, 2024
1 parent ae90f8b commit a3f1532
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.zuo
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

(define tmux-terminfo
(at-home ".terminfo" "74" "tmux-256color"))
(define xterm-terminfo
(at-home ".terminfo" "78" "xterm-256color"))

(define targets
`([:target default ()
Expand All @@ -59,12 +61,13 @@
[:target ,brewfile ()
,(lambda (dest token)
(shell/wait "brew bundle dump --force" (~a "--file=" (string->shell dest))))]
[:target ,tmux-terminfo ()
[:target (,tmux-terminfo ,xterm-terminfo) ()
,(lambda (dest token)
(shell/wait
"curl -LO https://invisible-island.net/datafiles/current/terminfo.src.gz &&"
"gunzip terminfo.src.gz &&"
"tic -xe tmux-256color terminfo.src &&"
"tic -xe xterm-256color terminfo.src &&"
"rm terminfo.src"))]
[:target dirs ()
,(lambda (token)
Expand Down

0 comments on commit a3f1532

Please sign in to comment.