summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-25 14:48:38 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-25 14:48:38 +0000
commit7fb99aadec3921af128b361c047be1b66b5734f3 (patch)
tree5024aed8ce6dc3d96108b4da8feb31b54d53806e
parent105456d250059c773f7dba9af29e007b568786c4 (diff)
downloadzsh-7fb99aadec3921af128b361c047be1b66b5734f3.tar.gz
zsh-7fb99aadec3921af128b361c047be1b66b5734f3.zip
beautify format of compdump file (11576)
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Core/compdump4
-rw-r--r--Completion/Core/compinit2
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 80d44c36b..7a35d4488 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2000-05-25 Sven Wischnowsky <wischnow@zsh.org>
+ * 11576: Completion/Core/compdump, Completion/Core/compinit:
+ beautify format of compdump file
+
* 11570: Completion/Core/_path_files: fix for special-dirs when
used with -g patterns
diff --git a/Completion/Core/compdump b/Completion/Core/compdump
index 92e47c19f..f427730f0 100644
--- a/Completion/Core/compdump
+++ b/Completion/Core/compdump
@@ -94,9 +94,9 @@ print -n autoload -U >> $_d_file
while (( $#_d_als )); do
if (( ! $+_compautos[$_d_als[1]] )); then
print -n " $_d_als[1]"
- if (( _i-- && $#_d_als > 1 )); then
+ if (( ! _i-- && $#_d_als > 1 )); then
_i=5
- print -n '\nautoload -U'
+ print -n ' \\\n '
fi
fi
shift _d_als
diff --git a/Completion/Core/compinit b/Completion/Core/compinit
index 6a35d17a7..5efc3d501 100644
--- a/Completion/Core/compinit
+++ b/Completion/Core/compinit
@@ -322,7 +322,7 @@ in the file:
Note that the values for the styles may be partly incorrect. Please
read the manual to find out how to configure the completion system
-with styles.
+with styles or use the \`compinstall' function.
Have fun