Note that autocomplete will not suggest commands that were not found.
So in this case, because the "def" command failed, fish will not
suggest it via autocomplete. However search (i.e. up arrow) is not
similarly restricted.

If you do

$ whoami
mjs
$ echo whoami
whoami

and then type "w", fish will suggest "whoami" as the completion (but
not actually complete it until you hit right arrow). On the other hand
if you hit "w" and then hit the up arrow, "echo whoami" is inserted
(no right arrow required).




Michael

On Mon, May 11, 2015 at 9:30 AM, Cedric Auger <sedri...@gmail.com> wrote:
> I am also using 2.1.1 (-1025-g5d1ddc9 on Ubuntu).
>
> After:
>
> <prompt> ~> def
> def : commande introuvable
> <prompt> ~> abc def
> abc : commande introuvable
>
> If I type "de" then use up arrow to navigate through history, I get "abc
> def" as first choice. Thus for me it is the last command containing "de",
> not the last starting with "de" (and I am happier with my settings, than
> with the "starting" settings).
>
>
>
> 2015-05-09 0:43 GMT+02:00 Greg Reagle <greg.rea...@umbc.edu>:
>>
>> > > I think it's worth noting here that in fish, if you just type 'c' on
>> > > an
>> > > empty command line, it will automatically show you the last command
>> > > that
>> > > started with 'c'.
>>
>> > More precisely, it brings back the last command that *contains* a 'c'.
>> > Huge
>> > difference.
>>
>> Not for me.  For me, it does as Andrew Kreps noted--shows me the last
>> command
>> that *started* with whatever I typed.  I am using fish, version 2.1.1.
>>
>>
>> ------------------------------------------------------------------------------
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> _______________________________________________
>> Fish-users mailing list
>> Fish-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to