about summary refs log tree commit diff
path: root/Completion
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 /Completion
parent105456d250059c773f7dba9af29e007b568786c4 (diff)
downloadzsh-7fb99aadec3921af128b361c047be1b66b5734f3.tar.gz
zsh-7fb99aadec3921af128b361c047be1b66b5734f3.tar.xz
zsh-7fb99aadec3921af128b361c047be1b66b5734f3.zip
beautify format of compdump file (11576)
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Core/compdump4
-rw-r--r--Completion/Core/compinit2
2 files changed, 3 insertions, 3 deletions
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