a ton of questions

Geoff Shang gshang10 at scu.edu.au
Mon Jan 1 02:10:27 EST 2001


On Sat, 30 Dec 2000, Kirk Wood wrote:

> cd /home/bob*
> 
> It will change to the first directory under home that starts with bob.

Much better and more predictable to use tab completion to do this.

cd /home/bob<TAB>

Will either complete the name for you or beep.  If you hit it a second
time, it will display all matching options (confirming if there's lots of
them), or beep again, meaning that there are no matches.  It will
automatically deal with things like escaping spaces and so forth.  I love
this feature.  This works in the shell, in programs that use libreadline (I
think), and some others like pine *if* you enable it.

Geoff.


-- 
Geoff Shang <gshang10 at scu.edu.au>
ICQ number 43634701





More information about the Speakup mailing list