1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +02:00

update comptest to not set ZLS_COLORS directly (11982)

This commit is contained in:
Sven Wischnowsky 2000-06-19 12:16:34 +00:00
parent 11ec14c3b3
commit 0301303666
2 changed files with 8 additions and 5 deletions

View file

@ -1,5 +1,8 @@
2000-06-19 Sven Wischnowsky <wischnow@zsh.org>
* 11982: Test/comptest: update comptest to not set ZLS_COLORS
directly
* 11981: Src/Zle/computil.c: more careful when optimising patterns
in compfiles

View file

@ -26,19 +26,19 @@ comptestinit () {
comptesteval \
"module_path=( $module_path )" \
"fpath=( $fpath )" \
"ZLS_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>'" \
'LISTMAX=10000000
stty columns 80 rows 24
bindkey -e
autoload -U compinit
compinit $dump
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>
zstyle ":completion:*:messages" format "<MESSAGE>%d</MESSAGE>
"
zstyle ":completion*:descriptions" format "<DESCRIPTION>%d</DESCRIPTION>
zstyle ":completion:*:descriptions" format "<DESCRIPTION>%d</DESCRIPTION>
"
zstyle ":completion*:options" verbose yes
zstyle ":completion*:values" verbose yes
zstyle ":completion:*:options" verbose yes
zstyle ":completion:*:values" verbose yes
setopt noalwayslastprompt listrowsfirst completeinword
zmodload zsh/complist
expand-or-complete-with-report () {