On Tue, 2007-11-06 at 08:10 -0800, Rich Burridge wrote: > Mark Phalan wrote: > > > $ make<Tab> > > > make makekdewidgets > > > makedepend make-memtest86+-boot-floppy > > > make_driver_db_cups make_method > > > make_driver_db_lpr make-ssl-cert > > > makeg makestrs > > > > > > $ make > > > > > > Maybe we could implement something like that... > > > > > > > Thats just the shell. Just run bash or zsh or some other shell with > > <tab> completion and hit <tab> - we don't need to implement anything, > > its already there! > > > > I don't think so. I just tried this with the default shell on the > OpenSolaris Developer Preview: > > bash-3.2$ cd /usr/bin > bash-3.2$ ma<Tab> > > ... no expansion ...
Hit <Tab> twice. If there is only one match a single <Tab> will complete it, a second <Tab> will show the other possible matches. > > Now I don't want to play word games with this, because I know that > > bash-3.2$ cd /u<Tab> > > does completion. It just appears that it doesn't provide the Thats just because there is a single file/directory beginning with 'u' in /. Different shells have different ways of dealing with tab completion for e.g. if you use zsh a single <Tab> is sufficient to show all the possible matches. I'm sure each shell has ways of further tuning this... -Mark _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
