Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Amend the last two comptest patches



Rather than prevent comptest from creating a dumpfile (my patch for which
didn't work anyway because of single-quoting that I didn't see elsewhere)
let's just point ZDOTDIR into a directory that's going to be removed again
when the test finishes.

Index: Test/comptest
===================================================================
@@ -5,7 +5,6 @@
 
   zmodload -i zsh/zpty
 
-  dump=(-D)
   comptest_zsh=${ZSH:-zsh}
   termcap_ce="$(echotc ce)"
 
@@ -25,13 +24,14 @@
   }
 
   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 -u $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>

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author