about summary refs log tree commit diff
path: root/Completion/compinstall
diff options
context:
space:
mode:
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