Re: [Fish-users] wishlist history and search
Also, maybe up-arrow should also match directory history? On Sun, Apr 20, 2014 at 4:14 AM, Philip Ganchev wrote: > So if the user enters text and presses up-arrow, Fish should match > input words as substrings of commands in history. If it finds a > matching command, Fish will suggest the command and the directory > where it was executed. The user can: > > 1. Press Enter to execute the command in the search directory, or > 2. Press Alt+right to cd to the historical directory, then: > 2.a. Press Alt+left to return to the search directory, or > 2.b. Press Enter to execute the command in the historical directory, or > 2.c. Press Ctrl-E Ctrl+U to clear the search and continue working in > the histriocal directory. > > > On Fri, Apr 18, 2014 at 5:40 AM, Martin Bähr > wrote: >> hi, >> >> quite often i want to search for multiple terms in the history when those >> terms >> are not in a sequence. >> >> currently typing >> foo bar >> >> will search for exactly "foo bar", >> but i'd also like to see any results that contain "foo" and "bar" with other >> stuff in between. >> >> maybe exact matches first, then matches with "foo" and "bar" in order >> followed >> by matches with them in any order. >> >> btw, i saw someone suggesting to search based on the directory, that's a nice >> idea too, moreover, i am occasionally browsing the history to reconstruct >> what >> i did in a certain directory. >> >> occasionally i am then coming across commands where i wonder in which >> directory >> i was running them. so if the history could be augmented with the working >> directory of each entry, even if it doesn't get used in search, just having >> that information would be of great help. >> >> greetings, martin. >> >> -- >> eKita - the online platform for your entire academic life >> hackerspace beijing -http://qike.info >> -- >> chief engineer eKita.co >> pike programmer pike.lysator.liu.secaudium.net societyserver.org >> BLUG secretary beijinglug.org >> foresight developer foresightlinux.orgrealss.com >> unix sysadmin >> Martin Bähr working in chinahttp://societyserver.org/mbaehr/ >> >> -- >> Learn Graph Databases - Download FREE O'Reilly Book >> "Graph Databases" is the definitive new guide to graph databases and their >> applications. Written by three acclaimed leaders in the field, >> this first edition is now available. Download your free book today! >> http://p.sf.net/sfu/NeoTech >> ___ >> Fish-users mailing list >> Fish-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fish-users -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] wishlist history and search
So if the user enters text and presses up-arrow, Fish should match input words as substrings of commands in history. If it finds a matching command, Fish will suggest the command and the directory where it was executed. The user can: 1. Press Enter to execute the command in the search directory, or 2. Press Alt+right to cd to the historical directory, then: 2.a. Press Alt+left to return to the search directory, or 2.b. Press Enter to execute the command in the historical directory, or 2.c. Press Ctrl-E Ctrl+U to clear the search and continue working in the histriocal directory. On Fri, Apr 18, 2014 at 5:40 AM, Martin Bähr wrote: > hi, > > quite often i want to search for multiple terms in the history when those > terms > are not in a sequence. > > currently typing > foo bar > > will search for exactly "foo bar", > but i'd also like to see any results that contain "foo" and "bar" with other > stuff in between. > > maybe exact matches first, then matches with "foo" and "bar" in order followed > by matches with them in any order. > > btw, i saw someone suggesting to search based on the directory, that's a nice > idea too, moreover, i am occasionally browsing the history to reconstruct what > i did in a certain directory. > > occasionally i am then coming across commands where i wonder in which > directory > i was running them. so if the history could be augmented with the working > directory of each entry, even if it doesn't get used in search, just having > that information would be of great help. > > greetings, martin. > > -- > eKita - the online platform for your entire academic life > hackerspace beijing -http://qike.info > -- > chief engineer eKita.co > pike programmer pike.lysator.liu.secaudium.net societyserver.org > BLUG secretary beijinglug.org > foresight developer foresightlinux.orgrealss.com > unix sysadmin > Martin Bähr working in chinahttp://societyserver.org/mbaehr/ > > -- > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > ___ > Fish-users mailing list > Fish-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fish-users -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
[Fish-users] wishlist history and search
hi, quite often i want to search for multiple terms in the history when those terms are not in a sequence. currently typing foo bar will search for exactly "foo bar", but i'd also like to see any results that contain "foo" and "bar" with other stuff in between. maybe exact matches first, then matches with "foo" and "bar" in order followed by matches with them in any order. btw, i saw someone suggesting to search based on the directory, that's a nice idea too, moreover, i am occasionally browsing the history to reconstruct what i did in a certain directory. occasionally i am then coming across commands where i wonder in which directory i was running them. so if the history could be augmented with the working directory of each entry, even if it doesn't get used in search, just having that information would be of great help. greetings, martin. -- eKita - the online platform for your entire academic life hackerspace beijing -http://qike.info -- chief engineer eKita.co pike programmer pike.lysator.liu.secaudium.net societyserver.org BLUG secretary beijinglug.org foresight developer foresightlinux.orgrealss.com unix sysadmin Martin Bähr working in chinahttp://societyserver.org/mbaehr/ -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users