summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2000-05-10 08:46:45 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2000-05-10 08:46:45 +0000
commit9a670c67eb24da0ef464d2b670fdde5a16ebb260 (patch)
treefbd0d8a64bcbcca3a9b43c0e056ad757ab333151
parent5b5c0e8fc9133b7b813902360fe9ded7d39f7317 (diff)
downloadzsh-9a670c67eb24da0ef464d2b670fdde5a16ebb260.tar.gz
zsh-9a670c67eb24da0ef464d2b670fdde5a16ebb260.tar.xz
zsh-9a670c67eb24da0ef464d2b670fdde5a16ebb260.zip
11287: Naoki Wakamatsu: compinstall spaces to be tab
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Core/compinstall2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 19be62766..c250ed4fd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-10  Peter Stephenson  <pws@cambridgesiliconradio.com>
+
+	* Naoki Wakamatsu: 11287: Completion/Core/compinstall: tab had
+	incorrectly turned to spaces.
+
 2000-05-10  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 11294: Src/Zle/computil.c: fix for `-+opt' with mutex list
diff --git a/Completion/Core/compinstall b/Completion/Core/compinstall
index 9c6e8f9de..8b907d88e 100644
--- a/Completion/Core/compinstall
+++ b/Completion/Core/compinstall
@@ -91,7 +91,7 @@ fi
 ifile=$newifile
 
 if [[ $foundold = true ]]; then
-  sed -n "/^[   ]*$startline/,/^[       ]*$endline/p" $ifile |
+  sed -n "/^[ 	]*$startline/,/^[ 	]*$endline/p" $ifile |
   # Use the default read behaviour to handle any continuation lines.
   while read line; do
     (( lines_found++ ))