Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
fpath problem on clean install
- X-seq: zsh-workers 14024
- From: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxx>
- Subject: fpath problem on clean install
- Date: Thu, 19 Apr 2001 12:53:21 +0400 (MSD)
- In-reply-to: <200104190705.JAA10878@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I did almost clean install on Linux Mdk (hard to tell version - it is
mostly updated to the 8.0 state from 7.2). The fpath agains was set
incorrectly:
bor@localhost% zsh -f
localhost% echo $fpath
/usr/share/zsh/site-functions
/usr/share/zsh/4.0.1-pre-3/functions/Completion/*
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/share/zsh/4.0.1-pre-3/functions/Completion
/usr/share/zsh/4.0.1-pre-3/functions/Misc
/usr/share/zsh/4.0.1-pre-3/functions/Prompts
/usr/share/zsh/4.0.1-pre-3/functions/Zftp
/usr/share/zsh/4.0.1-pre-3/functions/Zle
Looking in Makemod, it is expected result - I do not quite understand, how
I can get something different:
zshpaths.h: Makemod $(CONFIG_INCS)
......
fpath_tmp="`grep ' functions=.' \
$(dir_top)/config.modules | sed -e '/^#/d' -e '/ link=no/d' \
-e 's/^.* functions=//'`"; \
fpath_tmp=`for f in $$fpath_tmp; do \
echo $$f | sed -e 's%^Functions/%%' -e 's%/[^/]*$$%%' -e
's%/\*%%'; \
done | sort | uniq`; \
PLease, note, that it assumes dir/* syntax for functions. In reality we
have
bor@localhost% grep complete config.modules
name=zsh/complete modfile=Src/Zle/complete.mdd link=dynamic auto=yes
load=yes functions=Completion/comp* Completion/*/*/*
I wonder, how it can get installed at all ... O.K. without function
subdirs it works.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author