tab completion

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Mar 1 10:33:44 GMT 2005


> Dan Nelson wrote:
> >In the last episode (Mar 01), Ben Munat said:
> >
> >>Why doesn't tab completion in the shell work for my regular
> >>(non-root) user?
> >
> >
> >That depends on what shell "the shell" refers to, of course.
> >

Grrr... top posting.

On Tue, Mar 01, 2005 at 12:29:15AM -0800, Ben Munat wrote:
> According to /etc/passwd, both root and my regular user are using /bin/tcsh.

Try the following:

    % set autolist
    % set autoexpand
    % set autocorrect
    % set matchbeep = nomatch

then see if tab completion behaves more like the way you expect it to.
If you like the way that behaves, then add those set commands to
~/.tcshrc inside the 'if ($?prompt) ... endif' block.  For details of
what those variables actually do and various other variables you can
use for similar purposes, read tcsh(1).

    Cheers,

    Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050301/a5b1a04c/attachment.bin


More information about the freebsd-questions mailing list