3 ms·
To be fair, that scenario would be just as bad or worse without vipe. Also, you can construct your pipeline so that a blank file (or some sentinel value) retur
by goodside 4y ago
To be fair, that scenario would be just as bad or worse without vipe.
Also, you can construct your pipeline so that a blank file (or some sentinel value) returned from vipe means “abort”. A good example of this is when git opens your editor for interactive merging — deleting all lines cancels the whole thing.
- orblivion 4y agoYeah you could just as well say "oh crap I didn't mean to do that" after finishing a non-interactive command. However, at least knowing my own lazy tendencies, I could imagine feeling comfortable hitting <enter> on this command without a final careful review, because part of me thinks that I can still back out, since the interactive part isn't finished yet. But maybe not. I haven't tried it yet (and it does seem really useful).