1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 00:41:44 +02:00

Fix comptest interaction with compinit.

This commit is contained in:
Bart Schaefer 2000-06-22 17:33:38 +00:00
parent 6218b6dc19
commit 122e46b406
2 changed files with 8 additions and 1 deletions

@ -1,3 +1,9 @@
2000-06-22 Bart Schaefer <schaefer@zsh.org>
* 12039: Test/comptest: Use "compinit -u" to avoid a possible
prompt about security of the directories; point ZDOTDIR into
the temporary test directory for the .zcompdump file.
2000-06-22 Sven Wischnowsky <wischnow@zsh.org>
* 12033: Completion/Core/compinit: followup to compinit-security

@ -24,13 +24,14 @@ comptestinit () {
}
comptesteval \
"export ZDOTDIR=$ZTST_testdir/Modules" \
"module_path=( $module_path )" \
"fpath=( $fpath )" \
'LISTMAX=10000000
stty columns 80 rows 24
bindkey -e
autoload -U compinit
compinit $dump
compinit -u
zstyle ":completion:*:default" list-colors "no=<NO>" "fi=<FI>" "di=<DI>" "ln=<LN>" "pi=<PI>" "so=<SO>" "bd=<BD>" "cd=<CD>" "ex=<EX>" "mi=<MI>" "tc=<TC>" "sp=<SP>" "lc=<LC>" "ec=<EC>\n" "rc=<RC>"
zstyle ":completion:*" group-name ""
zstyle ":completion:*:messages" format "<MESSAGE>%d</MESSAGE>