cm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agoLinux Userslemmy.mlimagemessage-square137linkfedilinkarrow-up11.21Karrow-down120
arrow-up11.19Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 2 days agomessage-square137linkfedilink
minus-squarelayzerjeyt@lemmy.dbzer0.comlinkfedilinkarrow-up5·1 day agoThere is an option you can set in .zshrc or .bashrc which only includes lines that exit 0 (success)
minus-squareantimidas@sopuli.xyzlinkfedilinkarrow-up4·17 hours agoInfuriatingly that would omit things like unit test runners from the history in case they don’t pass. As a developer I tend to re-run failed commands quite often, not sure how widely that applies, though.
minus-squareulterno@programming.devlinkfedilinkEnglisharrow-up1·12 hours agoOh, stuff like git diff and git log will end up being omitted pretty often. And a lot of times, the commands that end with piping into less
There is an option you can set in .zshrc or .bashrc which only includes lines that exit 0 (success)
Infuriatingly that would omit things like unit test runners from the history in case they don’t pass. As a developer I tend to re-run failed commands quite often, not sure how widely that applies, though.
Oh, stuff like
git diff
andgit log
will end up being omitted pretty often.And a lot of times, the commands that end with piping into
less