• Moussx@programming.dev
    link
    fedilink
    arrow-up
    10
    ·
    2 days ago

    Sounds like exactly what atuin does, atuin probably adds more metadata to track the success of the command and the working directory though.

    • Ghoelian@piefed.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 days ago

      I like atuin, but I wish it had an option to behave more like bash does. Bash loads your “global” history on starting a new shell, but afterwards doesn’t load commands from different shell sessions into that shell’s history. As far as I could find, atuin is either entirely global, syncing commands from other sessions as you execute them, or entirely session-based, as in your current history is just empty on launch. I don’t like either of those options.

      I guess I just want the search of atuin but otherwise default bash behaviour.

  • poinck@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    2 days ago

    I think, I will borrow the idea, but I likely will use more a log-style date format in the persistent history file like this: [2026-01-09 12:34:56] command