Martin Bähr
<mba...@email.archlab.tuwien.ac.at>
writes:

> On Sun, May 12, 2013 at 10:04:27PM +1000, Bryan Kilgallin wrote:
>> "By pressing Alt-up and Alt-down, a history search is also performed, 
>> but instead of searching for a complete commandline, each commandline is 
>> tokenized into separate elements just like it would be before execution, 
>> and each such token is matched against the token under the cursor when 
>> the search began."
>> http://ridiculousfish.com/shell/user_doc/html/index.html#editor
>> 
>> The above excerpt reads like government bureaucratese!
>
> do you have a suggestion how to improve it?

What about:

  Pressing Alt-up and Alt-down performs a slightly different kind of
  history search. It will search and complete against each *token* in the
  history that matches whatever token is under the cursor when the search
  begins.

  So, given a previous command "cd /usr/share/doc" and cursor somewhere 
  on the last item of the prompt (i.e. doc):
  "$ doc" + up completes to the command -> "$ cd /usr/share doc"
  "$ doc" + Alt-up completes to the token -> "$ /usr/share/doc".
  "$ cd doc" + Alt-up completes to -> "$cd /usr/share/doc".

  With a blank line, both kinds of completions behave the same way.

Just a first suggestion, I am not a native speaker.

Memnon














------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to