On Mon, Apr 20, 1998 at 09:01:17PM -0700, Joel Klecker wrote: > At 12:17 -0400 1998-04-20, Peter S Galbraith wrote: > >$ cd [tab] > > -> shows and completes to directory names only > >$ latex [tab] > > -> shows and completes to .tex files only > >$ emacs -[tab] > > -> shows and completes to available options for that command. > > > >Who would want to live without it? > >Can bash be taught to do this? It would be great. > > bash can't, but zsh (a bourne shell derivative like bash) has programmable > completion that is even more powerful than what tcsh has.
I would welcome anyone to post a zsh configuration file even more powerful than tcsh's /usr/doc/tcsh/examples/complete.tcsh I'd give it a try if I didn't need to do the programming myself. -- Peter Galbraith, research scientist <[EMAIL PROTECTED]> Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546 ** New E-Mail. [EMAIL PROTECTED] is cut off ** -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]