Skip to content

[Bug]: store_failed=false does not work on nushell #3409

@ttiurani

Description

@ttiurani

What did you expect to happen?

When setting store_failed=false I was expecting that failed commands would not be stored to history, even when running on nushell (v0.112.1).

What happened?

Failed commands are stored to history. This might be because of Nushell's custom error code handling.

Atuin doctor output

{
  "atuin": {
    "version": "18.14.1",
    "commit": "NO_GIT",
    "sync": {
      "auth_state": "Self-hosted (authenticated)",
      "records": true,
      "auto_sync": true,
      "last_sync": "1970-01-01 0:00:00.0 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "nu",
    "default": "nu",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "CachyOS Linux",
    "arch": "x86_64",
    "version": "rolling",
    "disks": ["REDACTED"]
  }
}

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