Repository navigation
MacOs: When opening ghostty with "New ghostty window here" / "new ghostty tab here" the shell prompt is not showing up correctly #8932
Issue DescriptionWhen opening Ghostty from Finder via New ghostty window here / New ghostty tab here, after doing a cd it shows up correctly again. Expected BehaviorThe prompt should show up normally Actual BehaviorThe initial promopt after the ghostty window spawned is just a wider blank space. It is not showing up correctly Reproduction StepsUse MacOs Ghostty LogsGhostty VersionOS Version InformationMac os tahoe 26.0 (25A354) (Linux only) Display ServerNone (Linux only) Desktop Environment/Window ManagerNo response Minimal Ghostty Configuration-Additional Relevant ConfigurationNo response I acknowledge that:
|
Answered by
pgorczak
Aug 27, 2026
Replies: 2 comments 1 reply
Prompt_wrong.mp4 |
1 reply
|
Closing and locking this since it's pretty old, please open another one if similar issues occur |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#9828 seems to be a duplicate of this.
I am having the same issue with my Zsh prompt after launching with the action. The problem is that the workdir ends with a slash when Ghostty is launched through the MacOS action. This can also be seen in Ghostty's title bar in the screen capture above. The prompt sequence
%1~is expanded into the final component which is an empty string.After a
cd .the workdir is normalized into the version without a trailing slash which expands the prompts as expected again (also seen in the screen capture).