This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
{ pkgs, lib, isDarwin, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
isDarwin,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
@@ -54,8 +59,7 @@
|
||||
# ghostty (GTK) ships terminfo under $out/share on Linux. The macOS
|
||||
# ghostty-bin bundles its own, so only add ncurses there.
|
||||
TERMINFO_DIRS = lib.concatStringsSep ":" (
|
||||
lib.optional (!isDarwin) "${pkgs.ghostty}/share/terminfo"
|
||||
++ [ "${pkgs.ncurses}/share/terminfo" ]
|
||||
lib.optional (!isDarwin) "${pkgs.ghostty}/share/terminfo" ++ [ "${pkgs.ncurses}/share/terminfo" ]
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user