script-commands icon indicating copy to clipboard operation
script-commands copied to clipboard

Ghostty: align launchers with Raycast best practices

Open rolldav opened this issue 11 months ago • 1 comments

Description

This PR aligns the Ghostty AI terminal launchers with Raycast script-command best practices.

Changes included:

  • Use the Ghostty binary resolved by find_ghostty instead of hard-depending on Ghostty.app.
  • Deduplicate Ghostty discovery logic into a shared helper (lib/ghostty.sh) and source it from all launchers.
  • Remove unnecessary disown calls (Raycast scripts are non-interactive; background & is sufficient).
  • Restore the missing README screenshot.
  • Make all script output and documentation fully English.
  • Remove the untraceable Validated: comment.

Type of change

  • [ ] New script command
  • [x] Improvement of an existing script
  • [ ] Bug fix
  • [x] Documentation update
  • [ ] Toolkit change
  • [ ] Other

Screenshot

Ghostty AI terminals

Dependencies / Requirements

  • Ghostty terminal must be installed and available in PATH (e.g. brew install ghostty)

rolldav avatar Dec 17 '25 23:12 rolldav

Thanks a lot for the detailed review and suggestions — they were extremely helpful.

I refactored the launchers to use the resolved Ghostty binary, deduplicated the discovery logic into a shared helper, cleaned up the scripts to better match Raycast best practices, and fixed the README assets.

Really appreciate the time you took to review this and point out the inconsistencies.

rolldav avatar Dec 17 '25 23:12 rolldav

This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean. Thanks for your contributions.

stale[bot] avatar Jan 18 '26 22:01 stale[bot]