On 9/12/06, Martin Bähr <[EMAIL PROTECTED]> wrote: > hi, > > currently when describing commands, the are like files: (Executable, size) > unless they are fish functions or builtins. > > i think it would be very useful to use the description from the manpage > (the same info you get when doing manpage completion) instead.
Fish has had this feature for some time. Note, though, that there isn't any whatis information for many of the more obscure commands, at least on some systems. If you aren't seeing any description even for commands that do have whatis-information, then this is a bug somewhere in the fish system. Fish gets the completion description by running the shellscript function '__fish_describe_command', which takes a single argument, which should be the string to complete. The function will output all commands in the whatis database starting with that string, and their description. What is the output of e.g. '__fish_describe_command r'? > > 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/ -- Axel ------------------------------------------------------------------------- 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
