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-30 Thread Cheer Xiao
2012/12/28 ridiculous_fish : > On Dec 21, 2012, at 10:15 AM, Cheer Xiao wrote: > >> 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 tha

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-27 Thread ridiculous_fish
On Dec 21, 2012, at 10:15 AM, Cheer Xiao wrote: > 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

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-24 Thread Cheer Xiao
2012/12/22 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

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

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-18 Thread 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 a call to select(). So the history i

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-18 Thread Cheer Xiao
2012/12/16 Cheer Xiao : > Hi Ray, > > I left a message on GTalk, but in case someone else is interested too: > > 2012/12/14 Ray : >> Hi all, >> >> I'm a new fish user escaping from the zsh camp :) >> >> autojump is a productivity boost tool to chdir quickly >> (https://github.com/joelthelion/autoju

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-15 Thread Cheer Xiao
Hi Ray, I left a message on GTalk, but in case someone else is interested too: 2012/12/14 Ray : > Hi all, > > I'm a new fish user escaping from the zsh camp :) > > autojump is a productivity boost tool to chdir quickly > (https://github.com/joelthelion/autojump/wiki). > > j proj -> ~/to/long/do

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

2012-12-14 Thread Ray
Hi all, I'm a new fish user escaping from the zsh camp :) autojump is a productivity boost tool to chdir quickly ( https://github.com/joelthelion/autojump/wiki). j proj -> ~/to/long/dont/read/projects fasd absorbs autojump's idea and makes it convenient to reference file in a similar manner o