On Thu, 21 Apr 2016 15:42:30 -0500
charlie <charlie.f...@gmail.com> wrote:

> Found this post on Y-Combinator
> https://news.ycombinator.com/item?id=11540960 , and was happy to see a ton
> of fish users!
> 
> In one post they mentioned a feature request of a next gen shell, namely
> 'Undo'.
> 
> What are some initial thoughts on implementing an undo ( undo a dir rename,
> or a recursive rm ) ?  How feasible would it be in the current source of
> fish ?
> 
> -- 
> Thanks!
> Charlie

That sounds like it would be the operating systems' responsibility, insofar as 
un-rm.
The only two ways I can think of enabling such a feature would be staging a 
removal and then
committing it later (when would that be?) or using a file system with less 
aggressive garbage collection.

WRT directory renames, the shell would need to track file system state 
entirely, unless
the file system on the host has some sort of name-independent ID.

This sounds like a feature that would fit well in a next-gen operating system, 
P9 style,
where the shell is tightly integrated with the entire functioning of the system.

-- 
Roman Hargrave <ro...@hargrave.info>
http://hargrave.info
 __________________________________
< Programming is an unnatural act. >
 ----------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to