Skip to content

[Bug]: Agent Hook setup needs to use absolute paths #3698

Description

@ebendler

What did you expect to happen?

Note: bash is not my default shell, so it does not get the atuin init bash setup when it loads and does not have atuin in its PATH.

What happened?

• PreToolUse hook (failed)
error: hook exited with code 127

• PostToolUse hook (failed)
error: hook exited with code 127

Atuin doctor output

{
  "atuin": {
    "version": "18.17.1",
    "commit": "6245cc003a01380da6f62284e38cfcc5695e881d",
    "sync": {
      "auth_state": "Self-hosted (authenticated)",
      "records": true,
      "auto_sync": true,
      "last_sync": "2026-07-21 19:15:32.445895814 +00:00:00"
    },
    "sqlite_version": "3.46.0",
    "daemon_enabled": true
  },
  "shell": {
    "name": "fish",
    "default": "bash",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Fedora Linux",
    "arch": "x86_64",
    "version": "44",
    "disks": [
      {
        "name": "/dev/mapper/vgfedora-fedora",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p2",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sda1",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:setupIssues related to installing/setting up Atuintype:bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions