[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-6-g83c1f1a

Ville Skyttä ville.skytta at iki.fi
Thu Feb 10 20:28:47 UTC 2011


The following commit has been merged in the master branch:
commit 83c1f1a960290676d4185eed125a3c63caa75de9
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu Feb 10 22:01:57 2011 +0200

    Comment spelling fixes.

diff --git a/completions/helpers/perl b/completions/helpers/perl
index c9f40b3..f847dc7 100644
--- a/completions/helpers/perl
+++ b/completions/helpers/perl
@@ -9,11 +9,11 @@ my %seen;
 sub print_modules_real {
     my ($base, $dir, $word) = @_;
 
-    # return immediatly if potential completion doesn't match current word
-    # a double comparaison is used to avoid dealing with string lengths
+    # return immediately if potential completion doesn't match current word
+    # a double comparison is used to avoid dealing with string lengths
     # (the shorter being the pattern to be used as the regexp)
     # word 'Fi', base 'File' -> match 'File' against 'Fi'
-    # word 'File::Sp', base 'File' -> match 'File::Sp' againt 'File'
+    # word 'File::Sp', base 'File' -> match 'File::Sp' against 'File'
     return if
         $base               &&
         $word               &&

-- 
bash-completion



More information about the Bash-completion-commits mailing list