about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-19 12:16:34 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-06-19 12:16:34 +0000
commit030130366618816fdf35ac4d18d85fe8d959dd98 (patch)
treea38a6df3e215f0acb8cdf424095f2631423305f5
parent11ec14c3b3942cf2c790bf077e704f745b754db9 (diff)
downloadzsh-030130366618816fdf35ac4d18d85fe8d959dd98.tar.gz
zsh-030130366618816fdf35ac4d18d85fe8d959dd98.tar.xz
zsh-030130366618816fdf35ac4d18d85fe8d959dd98.zip
update comptest to not set ZLS_COLORS directly (11982)
-rw-r--r--ChangeLog3
-rw-r--r--Test/comptest10
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 6eeef80e9..89611286c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 	
diff --git a/Test/comptest b/Test/comptest
index 79be571e7..c7465dbee 100644
--- a/Test/comptest
+++ b/Test/comptest
@@ -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 () {