Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jul 2002 14:59:31 -0500
From:      "Roger P. Johnson" <rjohnson@hirshfields.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tcsh: list of all files when pressing tab
Message-ID:  <3D347B23.8000909@hirshfields.com>
References:  <12880.1025866639@www20.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Try this in your .tcshrc file:

     set autolist
     bindkey -v
     bindkey ^F complete-word-fwd
     bindkey ^b complete-word-back

This allows you to:
  You can do the auto-complete via tab.
  You can get a list of the matching files.
  You can cycle through the list forward by doing ctl-f
  You can cycle through the list backards by doing ctl-b

This sets your command line editing to vi style. You can also set it to 
emacs style.

-Roger

Pascal Giannakakis wrote:

> Hi, 
>  
> in tcsh i can type "/u" and press tab to autocomplete the path to "/usr/".
> However, 
> if there is more than one match, i would like to have a list of all possible
> path's. 
> I know this from linux. What is this feature called and how do i enable it?
> thx! 
>  
> 
> 



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?3D347B23.8000909>