set filec in the KSH?

lawrence.v.cipriani lvc at cbnews.att.com
Mon Apr 15 08:26:46 AEST 1991


In article <1991Apr14.175109.10183 at magnus.acs.ohio-state.edu> mcover at magnus.acs.ohio-state.edu (Mark Coverdill) writes:
>
>Having used the csh for many months I find myself having to switch to
>the ksh. I really miss the ability to complete a filename by hitting
>the ESC key aka the 'set filec' command in the csh. Is there such a
>command in the ksh?

You can use <ESC> followed by * for filename completion.  For example,
suppose in my home directory is:

	$ ls $HOME
	psycho
	loopy

Then I can enter:

	$ vi $HOME/p<ESC>*

and the command completes to:

	$ vi $HOME/psycho_

the _ marking the cursor position.
-- 
Larry Cipriani, att!cbvox!lvc or lvc at cbvox.att.com
"Offensive is in the eye of the beholder." -- me



More information about the Comp.unix.shell mailing list