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

Re: File completion for co



On Oct 25,  3:18pm, Vincent Lefevre wrote:
} Subject: Re: File completion for co
}
} On Wed, Oct 25, 2000 at 14:27:44 +0200, Sven Wischnowsky wrote:
} > > With zsh 3.1.9, file completion for co doesn't work. Why?
} > 
} > Because it only ever tried to complete files from the RCS
} > sub-directory (no attempt to complete all files per default).
} 
} This doesn't work either. I have:
} 
} $ ll -R **/*(^/)
} -r--r--r--   1 lefevre  polka        1558 Oct 25 14:08 RCS/lepois
} -r--r--r--   1 lefevre  polka         895 Oct 25 14:07 lepois
} 
} No completion at all for co -x.

It only looks for files that end in ",v".  Then it deletes the ,v and shows
you the corresponding "working" file.  You can't "co" a file that doesn't
have a ",v" file, so it's not necessarily wrong for it to ignore all other
files.  It is, however, wrong that it doesn't also look for the ",v " file
in the current directory.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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