Re: [Fish-users] [feature request] preexec to facilitate fasd'ish tool (chdir and xdg-open file based on approximation matching on older pathes)

2012-12-21 Thread Martin Bähr
On Sat, Dec 22, 2012 at 02:15:29AM +0800, Cheer Xiao wrote: > The the availability of latest history item before it is executed is > crucial to the filename saving part of a fasd-like tool. Assuming a > preexec event implemented, it will look like: > > function parse_and_save -e preexec > eval

Re: [Fish-users] [feature request] preexec to facilitate fasd'ish tool (chdir and xdg-open file based on approximation matching on older pathes)

2012-12-21 Thread Cheer Xiao
2012/12/19 ridiculous_fish : > After running a command, some processing occurs on a background thread. When > that's done, it notifies the main thread, which adds the item to the history. > The earliest that the main thread can respond to the notification is in its > main "event loop", which is