News for hackers. Stuff that matters.
Re:NGS: Next Generation Unix Shell by koolba on Thursday April 21, 2016 @10:48AM (#11542534)
I bet you could solve this with ZFS and automatic snapshot creation for each new command. Want to undo the past N commands? Roll back to a previous snapshot!
Re:NGS: Next Generation Unix Shell by i336_ on Thursday April 21, 2016 @10:56AM (#11542607)
And a policy mechanism that lets you define how important a directory (or file) is and how hard the system will work (eg removing less-important data to free up space) to save this.

This idea falls over if the amount of data you create (which the shell can't know in advance) is too big to contain in a snapshot. All that would be possible is an automatic notification that the operations in XYZ directory are no longer undoable due to its size.