atuinsh/atuin

[Bug]: Max Length for a command to be saved in Atuin

DakshChhokra opened this issue · 2 comments

What did you expect to happen?

I have a terminal command(a go build and run command with many config flags) with over a 1,000 characters. It is no longer saved in atuin when I use atuin's search in my terminal

What happened?

To run this command via atuin history, I have to go up until a few months back when it was last saved.

When I create a random echo with 1000+ characters it works without any issues

Atuin doctor output

atuin:
  version: 18.1.0
  sync:
    cloud: true
    records: false
    auto_sync: true
    last_sync: 2024-04-04 16:46:28.018239 +00:00:00
shell:
  name: zsh
  plugins:
  - atuin
system:
  os: Darwin
  arch: x86_64
  version: 12.5.1
  disks:
  - name: Macintosh HD
    filesystem: apfs
  - name: Macintosh HD
    filesystem: apfs

Code of Conduct

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

There's no max length (at least client side, only for sync) so I suspect there's something else going on

Are you able to share the command please?

Sorry the command has a bunch of config flags and sensitive vars and the redacted version doesn't do it justice. I was able to resolve this issue by just locally aliasing it to a single word command. Thanks!