Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Apr 2002 20:11:45 -0500
From:      Julian Peterson <weaver@earthcorp.com>
To:        Peter Leftwich <Hostmaster@Video2Video.Com>, FreeBSD Questions LIST <FreeBSD-Questions@FreeBSD.Org>
Subject:   Re: tcsh [TAB] ; man someth-[TAB]?
Message-ID:  <200204182011.45710.weaver@earthcorp.com>
In-Reply-To: <20020418180024.D291-100000@66-75-1-142.san.rr.com>
References:  <20020418180024.D291-100000@66-75-1-142.san.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Apr 2002 8:02 pm, Peter Leftwich wrote:
> Is it possible under tcsh (or any shell) to configure the "man" command
> line command so that the user can type:
>
> prompt$ man shutd[TAB]
>
> And have the shell display commands either in ones ${PATH} statement or
> that have manpages on the system?  Shweetniss.

Yes.

add to your .tcshrc file: 
complete man 'p/*/c/'

It's documented in the tcsh(1) man page FYI.


Regards,

Julian Peterson.

-- 
Metermaids eat their young.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204182011.45710.weaver>