mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-20 02:36:22 +03:00

Installing resources directly under ${prefix}/share causes conflicts with other packages. This will become more problematic whenever Ghostty is opened and becomes packaged in distributions. Instead, install all resources under a "ghostty" subdirectory (i.e. ${prefix}/share/ghostty). This includes themes, shell integration, and terminfo files. Only "/usr/share" style paths use the "ghostty" subdirectory. On macOS, Ghostty is already isolated within its app bundle, and if $GHOSTTY_RESOURCES_DIR is set then we assume that points to the actual resources dir (without needing to append "ghostty" to it).