8000 [Bug]: atuin scripts edit does not give the intended error message if editor is not found · Issue #2798 · atuinsh/atuin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: atuin scripts edit does not give the intended error message if editor is not found #2798
Open
@mikran

Description

@mikran

What did you expect to happen?

Most "atuin scripts" are failing, after inspecting code from the errored line, I was expecting this error

"failed to open editor"

What happened?

❯ atuin scripts new test                                                                                                                                                                                                                                                            07:06:30
Error: No such file or directory (os error 2)

Location:
    crates/atuin/src/command/client/scripts.rs:135:22

Atuin doctor output

Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.6.1",
    "sync": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-06-19 4:12:51.705337706 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "fish",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Arch Linux",
    "arch": "x86_64",
    "version": "rolling",
    "disks": [
      {
        "name": "/dev/mapper/root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/mapper/root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/mapper/root",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/mapper/root",
        "filesystem": "btrfs"
      },
      {
        "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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0