I often interactively loop over e.g. my files and want to perform a specific operation on all of them, let\'s say I\'d like to rename all files:
for file in
There is a github package called maybe, here's an example:
$ maybe rm file > maybe has prevented rm file from performing 1 file system operations: > > delete /home/user/file > > Do you want to rerun rm file and permit these operations? [y/N]