Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: dumping
- X-seq: zsh-workers 5881
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: dumping
- Date: Mon, 22 Mar 1999 16:33:43 +0100 (MET)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
You may have noticed that startup after my last patches didn't get
faster... I forgot to change the uses of compconfig[dumpfile] after I
changed the key.
Sorry.
Bye
Sven
diff -u oc/Core/compdump Completion/Core/compdump
--- oc/Core/compdump Mon Mar 22 14:54:41 1999
+++ Completion/Core/compdump Mon Mar 22 16:31:10 1999
@@ -15,7 +15,7 @@
# Print the number of files used for completion. This is used in compinit
# to see if auto-dump should re-dump the dump-file.
-_d_file=${compconfig[dump_file]-${0:h}/compinit.dump}
+_d_file=${compconfig[dumpfile]-${0:h}/compinit.dump}
typeset -U _d_files
_d_files=( ${^~fpath}/_*~*~(N:t) )
diff -u oc/Core/compinit Completion/Core/compinit
--- oc/Core/compinit Mon Mar 22 14:54:41 1999
+++ Completion/Core/compinit Mon Mar 22 16:31:02 1999
@@ -247,10 +247,10 @@
# If we have a dump file, load it.
-if [[ -f "$compconfig[dump_file]" ]]; then
- read -rA _i_line < "$compconfig[dump_file]"
+if [[ -f "$compconfig[dumpfile]" ]]; then
+ read -rA _i_line < "$compconfig[dumpfile]"
if [[ _i_autodump -eq 1 && $_i_line[2] -eq $#_i_files ]]; then
- builtin . "$compconfig[dump_file]"
+ builtin . "$compconfig[dumpfile]"
_i_done=yes
fi
unset _i_line
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author