Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Aha! (duplicate fpath entries)
- X-seq: zsh-workers 19670
- From: Danek Duvall <duvall@xxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Aha! (duplicate fpath entries)
- Date: Sun, 21 Mar 2004 11:13:16 -0800
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Back in users/6698, I complained that compaudit was duplicating entries
in $fpath, but I hadn't traced down why. It turns out it's a typo:
--- compaudit.orig Sun Oct 26 17:49:29 2003
+++ compaudit Sun Mar 21 11:09:33 2004
@@ -64,7 +64,7 @@
# Likewise (installation-layout)
_i_addfiles=(${_compdir}/*(/))
fi
- for _i_line in {1..$#i_addfiles}; do
+ for _i_line in {1..$#_i_addfiles}; do
_i_file=${_i_addfiles[$_i_line]}
[[ -d $_i_file && -z ${fpath[(r)$_i_file]} ]] ||
_i_addfiles[$_i_line]=
Thanks,
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author