Skip to content

bash and fish close without warning, zsh does not. #8785

@Palaress

Description

@Palaress

Describe the bug
zsh without any running for- or background tasks throws waring before closing by OS.

Environment / Versions

  • kitty: kitty 0.42.1 created by Kovid Goyal
  • Archlinux: Linux 6.15.4-arch2-1
  • zsh: zsh 5.9 (x86_64-pc-linux-gnu)
  • bash: GNU bash, version 5.2.37(1)-release (x86_64-pc-linux-gnu)
  • fish: fish, version 4.0.2

Steps to reproduce the behavior

  1. Install kitty, bash, fish and zsh
  2. Start new kitty shell with fish like kitty --config NONE fish --no-config, or with bash like kitty --config NONE bash --norc --noprofile.
  3. Close it by OS, x button on window, or $mod + q or however you close windows in your OS. This just closes the kitty window for me, without any warning.
  4. Open new kitty window with zsh like kitty --config NONE zsh --no-rcs, and close it by OS again. Throws warning: "Are you sure you want to close this OS Window? It is running: zsh. [Yes] [No]"

Expected behavior

zsh should close without any warning just like bash and fish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions