Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How to complete a file name?



Hallo Clint,

Clint Adams <clint@xxxxxxx> wrote:
> On Mon, Jan 14, 2008 at 04:38:34PM +0000, Jörg Sommer wrote:
>> is it possible to force the completion of a file name? For example, the
>> completion for git aliases doesn't work. git ci -- fi<TAB> doesn't
>> complete file, while git ci is an (git) alias for git commit. Or try to
>> complete eval "echo /bi<TAB>. Is it possible to say “complete this as a
>> file name maybe with the short syntax /u/s/d/z”?
>
> Quite a few things about git completion could be improved, including
> using aliases and the special and bizarre meaning of "--".

Excepts from the git case, isn't it possible to do a filename completion?
I come sometimes across cases where I want to complete a filename, but it
doesn't work, like in the “eval "echo /bi<TAB>” case.

Do I understand it right, that such a forced filename completion is not
possible?

Bye, Jörg.
-- 
Das Recht, seine Meinung zu wechseln, ist eines der wichtigsten
menschlichen Privilegien.
	     		 			(Robert Peel)



Messages sorted by: Reverse Date, Date, Thread, Author