From 7fb99aadec3921af128b361c047be1b66b5734f3 Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 25 May 2000 14:48:38 +0000 Subject: beautify format of compdump file (11576) --- ChangeLog | 3 +++ Completion/Core/compdump | 4 ++-- Completion/Core/compinit | 2 +- 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 + * 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 -- cgit 1.4.1