diff --git a/lib/init.bash b/lib/init.bash index 384e80e..6cf229a 100755 --- a/lib/init.bash +++ b/lib/init.bash @@ -90,6 +90,13 @@ function in_azerty_zone { return 1 } +function fix_terminfo_ghostty { + if ! infocmp xterm-ghostty >/dev/null; then + tic -x "$MIAOU_BASH_DIR"/assets/terminfo/ghostty + echo 'terminfo ghostty compiled' + fi +} + # MAIN [ "$UID" -ne 0 ] && echo 'root privilege required' && exit 1 @@ -99,3 +106,4 @@ DISTRO_LIKE=$(fetch_distro_like) required_packages no_more_skeleton link_config_files +fix_terminfo_ghostty