Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
kumi ( kumi@feddit.online )  to Linux@programming.devEnglish · 9 months ago

Keeping persistent history in bash

eli.thegreenplace.net

external-link
message-square
5
link
fedilink
16
external-link

Keeping persistent history in bash

eli.thegreenplace.net

kumi ( kumi@feddit.online )  to Linux@programming.devEnglish · 9 months ago
message-square
5
link
fedilink
Keeping persistent history in bash - Eli Bendersky's website
eli.thegreenplace.net
external-link
alert-triangle
You must log in or # to comment.
  • Moussx ( Moussx@programming.dev ) 
    link
    fedilink
    arrow-up
    7
    ·
    9 months 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 ( Ghoelian@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      9 months 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.

    • shiftymccool ( shiftymccool@piefed.ca ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      +1 for atuin, great tool

  • kumi ( kumi@feddit.online ) OP
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    zsh envy is dead

    • FishFace ( FishFace@piefed.social ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      It died 13 years ago?

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 175 users / day
  • 671 users / week
  • 2K users / month
  • 5.52K users / 6 months
  • 125 local subscribers
  • 15.2K subscribers
  • 4.42K Posts
  • 23K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code