Tab title changed to name of shell
My tabs in kitty now all show 'zsh' instead of something useful.
If you're running into this issue, could you let us know:
- Your terminal and shell
- Any shell plugins or frameworks you're using (eg. oh my zsh)
- Kitty (Mac) and zsh
- prezto
I tried uncommenting the top/bottom fig init lines in my .zshrc, .bashrc and .profile and rebooting my terminal, but I still had the same behavior. Once I uninstalled Fig, the problem disappeared.
This is actually not an issue with Fig. Instead it is a conflict between how Kitty determines the current process and Fig's shell integrations.
The workaround is to define the title format you want in Fig. eg. {cwd} | {process} | {pid} or something like this.
Fig has window title formatting? :man_shrugging:
- Your terminal and shell: MacOS v.12.3 Terminal.app (default)
- Any shell plugins or frameworks you're using (eg. oh my zsh): No frameworks, the only plugin I have installed in Fig is
alias-tips_djui.
Title shown in the top of the window (not within each tab)
Titles currently look like (while in a directory named folder):
folder — zsh — zsh (figterm) ▸ zsh
If there is an active process -- in this case, more:
folder — zsh — zsh (figterm) ▸ more
Right now, my titles are being controlled by Terminal.app preferences (Profiles --> Window, see this article for screenshots). If I uncheck "Active process name", the title become simply:
folder — zsh
Title shown within each tab (just below the topmost title)
Titles currently look like (while in a directory named folder):
folder — zsh — zsh (figterm) ▸ zsh
If there is an active process -- in this case, more:
folder — zsh — zsh (figterm) ▸ more
... Didn't get as far as messing with this title, but presumably I could also at least make it stop showing the active process.