• mumblerfish@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      10 months ago

      Was working on a server where I did not want to put some dumb command into the history, so I add a space like you do. Press up. The command is there. The fucking insult I felt.

      • PoolloverNathan@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        10 months ago

        It’s disabled by default, but you can enable it in .bashrc and then delete that edit session using a spaced command.

        Edit: brain fart

      • superbirra@lemmy.world
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        10 months ago

        it also depends on the shell, in zsh it persists on local history but does not get written to history file