Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Documentation error
- X-seq: zsh-workers 29978
- From: gi1242+zsh@xxxxxxxxx
- To: zsh-workers@xxxxxxx
- Subject: Documentation error
- Date: Sat, 10 Dec 2011 12:09:56 -0500
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: gi1242+zsh@xxxxxxxxx, zsh-workers@xxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hi All,
Is the following an error in the documentation from man zshcompsys:
_example_caching_policy () {
# rebuild if cache is more than a week old
local -a oldp
oldp=( "$1"(Nmw+1) )
(( $#oldp ))
}
Technically won't this rebuild the cache if it's more than TWO weeks
old? "$1"(Nmw+0) seems to do one week old for me,
GI
--
A gossip is someone with a great sense of rumor.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author