Skip to content

[codex] Fix Ghostty shell startup errors#33

Open
mcclayton wants to merge 1 commit into
codex/data-driven-installersfrom
codex/fix-ghostty-shell-startup
Open

[codex] Fix Ghostty shell startup errors#33
mcclayton wants to merge 1 commit into
codex/data-driven-installersfrom
codex/fix-ghostty-shell-startup

Conversation

@mcclayton
Copy link
Copy Markdown
Owner

@mcclayton mcclayton commented May 24, 2026

Summary

  • Silence installer color initialization when TERM has no local terminfo entry, with a Ghostty fallback to xterm-256color.
  • Make splash screen width detection resilient to failed tput calls and quote rainbowtext output so lolcat flags are not treated as printf options.
  • Guard the splash clear path so missing Ghostty terminfo cannot emit '''xterm-ghostty''': unknown terminal type.
  • Load asdf from interactive zsh startup files and avoid running Bash-only bind commands when .bashrc is sourced from zsh.
  • Add shell startup regression coverage for TERM=xterm-ghostty, including a missing-fallback config case.

Validation

  • bash ./ci/test_shell_startup.sh
  • bash ./ci/checks.sh
  • git diff --check

@mcclayton mcclayton force-pushed the codex/fix-ghostty-shell-startup branch from 4b16e5b to f259992 Compare May 24, 2026 16:16
@mcclayton mcclayton marked this pull request as ready for review May 24, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant