Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _files vs _path_files discussion (old thread)
- X-seq: zsh-workers 10100
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Adam Spiers <adam@xxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: _files vs _path_files discussion (old thread)
- Date: Sun, 12 Mar 2000 22:51:33 +0000
- In-reply-to: <20000312201423.A10537@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000311222225.A27795@xxxxxxxxxxxxxxxxxxxxxxx> <1000312001854.ZM26814@xxxxxxxxxxxxxxxxxxxxxxx> <20000312005127.A28688@xxxxxxxxxxxxxxxxxxxxxxx> <1000312062134.ZM27047@xxxxxxxxxxxxxxxxxxxxxxx> <1000312063459.ZM27076@xxxxxxxxxxxxxxxxxxxxxxx> <199909170728.JAA01949@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20000312130233.A4744@xxxxxxxxxxxxxxxxxxxxxxx> <1000312194332.ZM27890@xxxxxxxxxxxxxxxxxxxxxxx> <20000312201423.A10537@xxxxxxxxxxxxxxxxxxxxxxx>
On Mar 12, 8:14pm, Adam Spiers wrote:
} Subject: Re: _files vs _path_files discussion (old thread)
}
} > If you have global directories file-patterns you're going to need them
} > for globbed-files, too ...
}
} Why's that? I'm still not fully understanding this, it seems.
The default for _files with no options and no file-patterns styles is to
use the all-files tag (this is determined by the setting of `type' in
_files if you want to follow it).
If you give file-patterns for any of globbed-files, directories or
all-files, then (`type' gets changed, so) different tags are used. If
the only file-patterns you give are for directories, then the tags used
are directories and all-files.
To get globbed-files used, you either have to specify file-patterns for
it, or else the caller of _files has to pass -g.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author