summary refs log tree commit diff
path: root/Completion/compinstall
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 /Completion/compinstall
parent98b604282e0dcb1205bc31444bd49725de4adebf (diff)
downloadzsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.tar.gz
zsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.tar.xz
zsh-332c337e4dfb3fc51778f6c7d5374d89f07e8d2f.zip
25818: compinstall data loss typo fix from Morita Sho.
Diffstat (limited to 'Completion/compinstall')
-rw-r--r--Completion/compinstall2
1 files changed, 1 insertions, 1 deletions
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