[wplug] csh question

Jonathan S. Billings billings at negate.org
Thu Aug 31 14:30:24 EDT 2006


On 08/31/2006 02:11 PM, O'Connor, Michael P. wrote:
> Is there any way to get csh to act like bash on a double <tab> key, aka 
> have it show you all the possibilities that can be used to complete the 
> string, if there is no unique completion?

By default, control-D will do that.  From the tcsh man page:

* You  can  list the possible completions of a word at any time by
* typing ‘^D’ to run the delete-char-or-list-or-eof editor command.
* The  shell lists  the  possible  completions  using  the  ls-F builtin
* (q.v.)  and reprints the prompt and unfinished command line, for
* example:
*
*           > ls /usr/l[^D]
*           lbin/       lib/        local/      lost+found/
*           > ls /usr/l


-- 
Jonathan Billings <billings at negate.org>

One Bell System - it sometimes works.


More information about the wplug mailing list