(macOS, fish) Process name remains after exit if suspended at least once #10136
Replies: 2 comments
-
|
Relevant update: I finally went ahead and implemented the jobs icon So addendum: having a custom |
Beta Was this translation helpful? Give feedback.
-
|
I don't believe this is a Ghostty bug. We set the title based on what running programs (Neovim, Fish, etc.) tell us. We don't set the title manually unless it is blank, in which case set it to "Ghostty." I think all of this is downstream. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
As indicated, this is on macOS with fish shell.
There is a similar issue which was due to disabling shell integration. My Ghostty config doesn't show any evidence that I have done likewise, and I am nearly positive I have never done so.
At issue: when running, e.g.,
nvim, and exiting normally, the tab title returns to showing the directory. However, if I enter,^Zsuspend (which I do very frequently), then re-enter, then quit, it retainsnvimin the title.Which is interesting! Because I invoke
nvimwithvi(vi not?), and it saysvi ~blahduring the session, butnvim $argv etcafter it.So this is very likely a fish shell thing, and I am able to use the difference to determine what I'm trying to find out, which is if I have jobs open in any of my tabs. If, that is, they're in the foreground; my suggestion that Ghostty support background jobs in titles got panned, although frankly I think that was hasty. I don't see how it's less important than the little bell emoji which shows up if
BELwas sent, but then, I use jobs, so I would think that. Anyway. Not why I'm here!But that's just a happenstance, because I use a fish function to invoke Neovim. When I use
nvim blah.txt, suspend, resume, and exit, I getnvim ~/directoryas a title, so it's not because I'm using a fish function either.type nvimsays the location, so it's not any sort of alias. Just to be thorough.Expected Behavior
Exiting a job should have the same effect on the title, namely, clearing the job info, whether or not the job was suspended during execution.
Actual Behavior
Something based on the invocation of the job is left in the title.
Reproduction Steps
fishif not in fish alreadyfish_functionin.config/fish/functions, stash it elsewhere prior to launching the shell.nvim somefile^Zfg:q!The title bar should still say
nvim.Ghostty Logs
Ghostty Version
OS Version Information
Sequoia 15.6.1
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
# None neededAdditional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions