sabreW4K3@lemmy.tf to Programmer Humor@programming.devEnglish · 10 months agoWDYM your terminal isn't a test suite?lemmy.tfimagemessage-square32fedilinkarrow-up1142arrow-down19
arrow-up1133arrow-down1imageWDYM your terminal isn't a test suite?lemmy.tfsabreW4K3@lemmy.tf to Programmer Humor@programming.devEnglish · 10 months agomessage-square32fedilink
minus-squareallywilsonlinkfedilinkarrow-up15·10 months agoI just start every command with a space, don’t see the issue.
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up13·edit-210 months agoWas 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.
minus-squarePoolloverNathan@programming.devlinkfedilinkarrow-up2·edit-210 months agoIt’s disabled by default, but you can enable it in .bashrc and then delete that edit session using a spaced command. Edit: brain fart
minus-squaresuperbirra@lemmy.worldlinkfedilinkarrow-up2arrow-down1·10 months agoit also depends on the shell, in zsh it persists on local history but does not get written to history file
I just start every command with a space, don’t see the issue.
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.
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
it also depends on the shell, in zsh it persists on local history but does not get written to history file