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.
bash can't do it yet (as of version 2.01.1 or 2.02); however, according to to their recent posting on comp.os.linux.announce: A Peek at the Future ======================== Things under consideration for bash-2.03 (or whatever the next version is named) are o An implementation of programmable completion for the bash readline interface So, there is hope yet! ;-) Anthony -- Anthony Fok Tung-Ling Civil and Environmental Engineering [EMAIL PROTECTED] University of Alberta, Canada [EMAIL PROTECTED] Keep smiling! *^_^* Come visit Our Lady of Victory Camp -- http://olvc.home.ml.org/ or http://www.ualberta.ca/~foka/OLVC/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]