On Sat, Sep 16, 2006 at 01:24:16AM +0200, Axel Liljencrantz wrote: > I'll try to add a patch that implements this behaviour and add it to > the darcs tree.
excellent! > Feel free to remind me if I haven't done it in a few weeks time. just don't forget to add it to the todo list ;-) > >related to that, it would also be helpful to see all completions that > >include wildcards with the wildcards expanded > This could be done either by including the full filename in the > description or by allowing a per-completion prefix that is the > expanded string instead of the string to be completed. Both should be > doable, though I fear that the latter is a bad idea because the > competions won't line up anymore. The main problem I see with this is > that completions may become too wordy and take up too much space. But > we won't know for sure unless we try, I guess. i didn't think about the fact that the wildcard can be in the path as well as the filename. listing all filenames will definetly be a start and solve all the cases with wildcards in the filename. i agree with the problem of long paths. maybe this could be solved by making the pager a bit more fancy and allow sections: /expanded/path/to/somewhere/ file file file file ... file file file file ... file file file file ... /another/path/expanded/to/elsewhere/ file file file file ... file file file file ... file file file file ... > It would be possible to add a keybinding for describing all the > details of the current command, including wildcard matches, history > commands (if those are ever implemented) etc., but I don't really like > this path since I feel it is not very discoverable. the statusline of the pager could include that like a menu. that would only make it accessible after hitting <tab>, but maybe that's enough for discoverability. greetings, martin. -- cooperative communication with sTeam - caudium, pike, roxen and unix offering: programming, training and administration - anywhere in the world -- pike programmer travelling and working in europe open-steam.org unix system- bahai.or.at iaeste.(tuwien.ac|or).at administrator (caudium|gotpike).org is.schon.org Martin Bähr http://www.iaeste.or.at/~mbaehr/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Fish-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fish-users
