about summary refs log tree commit diff
path: root/Completion/Base
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base')
-rw-r--r--Completion/Base/Completer/_approximate2
-rw-r--r--Completion/Base/Completer/_menu2
-rw-r--r--Completion/Base/Core/_tags2
-rw-r--r--Completion/Base/Utility/_multi_parts6
-rw-r--r--Completion/Base/Utility/_regex_arguments6
-rw-r--r--Completion/Base/Utility/_sep_parts2
6 files changed, 10 insertions, 10 deletions
diff --git a/Completion/Base/Completer/_approximate b/Completion/Base/Completer/_approximate
index 6e094cd45..70c2c926f 100644
--- a/Completion/Base/Completer/_approximate
+++ b/Completion/Base/Completer/_approximate
@@ -2,7 +2,7 @@
 
 # This code will try to correct the string on the line based on the
 # strings generated for the context. These corrected strings will be
-# shown in a list and one can cycle through them as in a menucompletion
+# shown in a list and one can cycle through them as in a menu completion
 # or get the corrected prefix.
 
 # We don't try correction if the string is too short or we have tried it
diff --git a/Completion/Base/Completer/_menu b/Completion/Base/Completer/_menu
index 41fc178ba..0e12cb766 100644
--- a/Completion/Base/Completer/_menu
+++ b/Completion/Base/Completer/_menu
@@ -2,7 +2,7 @@
 
 [[ _matcher_num -gt 1 ]] && return 1
 
-# This completer is an example showing how menucompletion can be
+# This completer is an example showing how menu completion can be
 # implemented with the new completion system.
 # Use this one before the normal _complete completer, as in:
 #
diff --git a/Completion/Base/Core/_tags b/Completion/Base/Core/_tags
index d9f421ba9..23cfec877 100644
--- a/Completion/Base/Core/_tags
+++ b/Completion/Base/Core/_tags
@@ -4,7 +4,7 @@ local prev
 
 # A `--' as the first argument says that we should tell comptags to use
 # the preceding function nesting level. This is only documented here because
-# if everythings goes well, users won't have to worry about it and should
+# if everything goes well, users won't have to worry about it and should
 # not mess with it.
 
 if [[ "$1" = -- ]]; then
diff --git a/Completion/Base/Utility/_multi_parts b/Completion/Base/Utility/_multi_parts
index d0e69b990..2c9f7fb01 100644
--- a/Completion/Base/Utility/_multi_parts
+++ b/Completion/Base/Utility/_multi_parts
@@ -46,7 +46,7 @@ opre="$PREFIX"
 osuf="$SUFFIX"
 orig="$PREFIX$SUFFIX"
 
-# Special handling for menucompletion?
+# Special handling for menu completion?
 
 [[ $compstate[insert] = (*menu|[0-9]*) || -n "$_comp_correct" ||
    ( $#compstate[pattern_match] -ne 0 &&
@@ -149,8 +149,8 @@ while true; do
       if ! zstyle -t ":completion:${curcontext}:" expand suffix ||
          [[ -n "$menu" || -z "$compstate[insert]" ]]; then
 
-        # With menucompletion we add only the ambiguous component with
-        # the prefix collected and a spearator for the matches that
+        # With menu completion we add only the ambiguous component with
+        # the prefix collected and a separator for the matches that
         # have more components.
 
         tmp2="$pre$suf"
diff --git a/Completion/Base/Utility/_regex_arguments b/Completion/Base/Utility/_regex_arguments
index 635cd0e5f..2ace6ba72 100644
--- a/Completion/Base/Utility/_regex_arguments
+++ b/Completion/Base/Utility/_regex_arguments
@@ -9,10 +9,10 @@
 
 ##
 
-# _regex_arguments compiles `regex' and emit the result of the state
+# _regex_arguments compiles `regex' and emits the result of the state
 # machine into the function `funcname'. `funcname' parses a command line
-# according to `regex' and evaluate appropriate actions in `regex'. Before
-# parsing the command line string is genereted by concatinating `words'
+# according to `regex' and evaluates appropriate actions in `regex'. Before
+# parsing the command line string is generated by concatenating `words'
 # (before `PREFIX') and `PREFIX' with a separator NUL ($'\0').
 
 # The `regex' is defined as follows.
diff --git a/Completion/Base/Utility/_sep_parts b/Completion/Base/Utility/_sep_parts
index 4e505dd64..b1fdfd31e 100644
--- a/Completion/Base/Utility/_sep_parts
+++ b/Completion/Base/Utility/_sep_parts
@@ -116,7 +116,7 @@ while [[ $# -gt 0 && "$str" == *${1}* ]]; do
     PREFIX="$str"
   fi
 
-  # We incrementally add suffixes by appending to them the seperators
+  # We incrementally add suffixes by appending to them the separators
   # and the strings from the next array that match the pattern we built.
 
   arr="$2"