sabreW4K3@lemmy.tf to Programmer Humor@programming.devEnglish · 7 months agoWDYM your terminal isn't a test suite?lemmy.tfimagemessage-square32fedilinkarrow-up1145arrow-down19
arrow-up1136arrow-down1imageWDYM your terminal isn't a test suite?lemmy.tfsabreW4K3@lemmy.tf to Programmer Humor@programming.devEnglish · 7 months agomessage-square32fedilink
minus-squareallywilson@sopuli.xyzlinkfedilinkarrow-up15·7 months agoI just start every command with a space, don’t see the issue.
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up13·edit-27 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-27 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·7 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