about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-10-06 21:01:14 +0000
committerClint Adams <clint@users.sourceforge.net>2008-10-06 21:01:14 +0000
commit332c337e4dfb3fc51778f6c7d5374d89f07e8d2f (patch)
treea89f48b4eb1386e6a1973d9bbc53762e1d934d16
parent98b604282e0dcb1205bc31444bd49725de4adebf (diff)
downloadzsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.tar.gz
zsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.tar.xz
zsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.zip
25818: compinstall data loss typo fix from Morita Sho.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/compinstall2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 95f08ac83..8c060d9a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-06  Clint Adams  <clint@zsh.org>
+
+	* 25818: Completion/compinstall: compinstall data loss typo fix
+	from Morita Sho.
+
 2008-10-04  Clint Adams  <clint@zsh.org>
 
 	* 25808: Completion/Debian/Command/_bts: handle bts claim and
diff --git a/Completion/compinstall b/Completion/compinstall
index 8149a1d55..c04543c57 100644
--- a/Completion/compinstall
+++ b/Completion/compinstall
@@ -125,7 +125,7 @@ in order not to use existing definitions."
     newifile=$PWD/$newifile
     print "[Not absolute path: updating to $newifile]"
   fi
-  [[ -z $newifile || ! -f $newfile ]] && foundold=false
+  [[ -z $newifile || ! -f $newifile ]] && foundold=false
 else
   print "I haven't found any existing completion definitions.
 If you have some already defined by compinstall, edit the name of the