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

File completion with git ls-files



Hi,

I am looking for a way to complete the full path to files in a subdirectory
by its name. I would like to enter `less foo`, hit TAB (or a special short
cut) and cycle through the list of `dir/subd-1/subd-2/foo…`,
`dir2/abc/foo…`, `dir2/s1/s2/s3/foo`. Because that's most of the time in a
git repo, the usage of `git ls-files` would be useful. Does Zsh provide
anything to do this?

Regards Jörg

-- 
Erfahrung heißt gar nichts. Man kann seine Sache auch 35 Jahre schlecht
machen.
                                            (Kurt Tucholsky)

Attachment: signature.asc
Description: PGP signature



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