tab completion
Ben Munat
bent at munat.com
Tue Mar 1 17:20:15 GMT 2005
None of those commands worked... However, I've also found that echo $SHELL in my regular
user's terminal says /bin/sh, while as root it says /bin/csh. Both root and the non-root
user's shells are listed in /etc/passwd as /bin/tcsh, so where else would the shell get
set? Can I just set all terminals and all users (i.e. me) to have the same shell with the
same capabilities?
thnx,
b
PS: grrr... bottom posting.
Matthew Seaman wrote:
>>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
>
More information about the freebsd-questions
mailing list