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