#4263·atuin

[Bug]: atuin pty-proxy doesn't respect the `login` option of zsh

Author: huyzCreated Sep 25, 2026Updated Sep 25, 2026
Labelstype:bugshell:zsh

What did you expect to happen?

I have a login zsh shell. That means [[ -o LOGIN ]] is true and .zlogin is read.

What happened?

When pty_proxy is enabled, the new zsh has [[ -o LOGIN ]] false.

Atuin doctor output

yaml
{
  "atuin": {
    "version": "18.23.0",
    "commit": "NO_GIT",
    "sync": {
      "auth_state": "Hub (authenticated)",
      "auto_sync": true,
      "last_sync": "2026-09-25 3:52:26.240825 +00:00:00"
    },
    "sqlite_version": "3.46.0",
    "daemon_enabled": true
  },
  "shell": {
    "name": "zsh",
    "default": "zsh",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Darwin",
    "arch": "arm64",
    "version": "15.8",
    "disks": [
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD",
        "filesystem": "apfs"
      },
      {
        "name": "Macintosh HD - Data@snap-381038968",
        "filesystem": "apfs"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct