Files
home-manager/tests/modules/programs/ghostty/example-settings.nix
Austin Horstman 4ebe20f112 ghostty: source shell integration only when present
The integration snippets keyed off GHOSTTY_RESOURCES_DIR being set and
sourced the script unconditionally. Applications embedding GhosttyKit,
such as cmux, export GHOSTTY_RESOURCES_DIR pointing at a resource tree
that ships terminfo and themes but no shell-integration directory, so
every interactive shell started inside them failed with:

  no such file or directory: /Applications/cmux.app/Contents/Resources/ghostty/shell-integration/zsh/ghostty-integration

Test for the integration file itself instead of the variable.
2026-07-28 20:03:33 -05:00

977 B