Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shrdlu68
Last active October 12, 2019 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shrdlu68/a4ccea7efab3623fe7d62e383273f386 to your computer and use it in GitHub Desktop.
Save shrdlu68/a4ccea7efab3623fe7d62e383273f386 to your computer and use it in GitHub Desktop.
(define build-terminfo
(with-imported-modules '((guix build utils))
#~(begin
(use-modules (guix build utils))
(mkdir-p (string-append #$output "/.terminfo/x"))
(let ((port (open-file (string-append #$output "/.terminfo/x/xterm-kitty") "w")))
(close-port port)))))
;; Add kitty's terminfo to skeletons
(skeletons (cons (list (computed-file "xterm-kitty" build-terminfo) (local-file "xterm-kitty"))
(default-skeletons)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment