mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +02:00
zsh-workers/9961
This commit is contained in:
parent
51d6a60794
commit
b3b4bce529
4 changed files with 13 additions and 2 deletions
7
INSTALL
7
INSTALL
|
@ -97,6 +97,13 @@ with the list of modules which are to be compiled into the main binary, one
|
||||||
module name per line with no punctuation and no suffix. See the zshmodules
|
module name per line with no punctuation and no suffix. See the zshmodules
|
||||||
manual page for the list of available modules.
|
manual page for the list of available modules.
|
||||||
|
|
||||||
|
Note that mymods.conf replaces the standard list of linked-in modules from
|
||||||
|
Src/xmods.conf. If you wish to add to the standard list, copy the lines
|
||||||
|
that begin with "L " from xmods.conf into mymods.conf and remove the "L "
|
||||||
|
from each such line in mymods.conf. Then add the names of other modules
|
||||||
|
that you want to link. Module names typically must begin with "zsh/";
|
||||||
|
only modules appearing in Src/Aliases/*.mdd may omit the "zsh/" prefix.
|
||||||
|
|
||||||
Note that the modules depending on zle or complete (e.g.: complist and
|
Note that the modules depending on zle or complete (e.g.: complist and
|
||||||
deltochar) cannot be loaded dynamically on systems which do not allow symbols
|
deltochar) cannot be loaded dynamically on systems which do not allow symbols
|
||||||
in one dynamically loaded library to be visible from another; this is true,
|
in one dynamically loaded library to be visible from another; this is true,
|
||||||
|
|
|
@ -128,7 +128,10 @@ FORCE:
|
||||||
|
|
||||||
# ========== LINKING IN MODULES ==========
|
# ========== LINKING IN MODULES ==========
|
||||||
|
|
||||||
modules-bltin: Makefile
|
mymods.conf:
|
||||||
|
@echo Linking with the standard modules.
|
||||||
|
|
||||||
|
modules-bltin: Makefile $(sdir)/xmods.conf mymods.conf
|
||||||
if test -f mymods.conf; then \
|
if test -f mymods.conf; then \
|
||||||
cat mymods.conf > $@; \
|
cat mymods.conf > $@; \
|
||||||
elif test @D@ = N; then \
|
elif test @D@ = N; then \
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Tests for completion system.
|
# Tests for completion system.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
zmodload -i zsh/zpty
|
||||||
|
|
||||||
comptest () { $ZTST_testdir/../Src/zsh -f $ZTST_srcdir/comptest -z $ZTST_testdir/../Src/zsh -d $ZTST_testdir/compdump.tmp "$@" }
|
comptest () { $ZTST_testdir/../Src/zsh -f $ZTST_srcdir/comptest -z $ZTST_testdir/../Src/zsh -d $ZTST_testdir/compdump.tmp "$@" }
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/local/bin/zsh -f
|
#!/usr/local/bin/zsh -f
|
||||||
|
|
||||||
zmodload zsh/zpty
|
zmodload -i zsh/zpty
|
||||||
setopt extendedglob
|
setopt extendedglob
|
||||||
|
|
||||||
debug=
|
debug=
|
||||||
|
|
Loading…
Reference in a new issue