summary refs log tree commit diff
diff options
context:
space:
mode:
-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