diff options
Diffstat (limited to 'Completion/Base/Utility')
-rw-r--r-- | Completion/Base/Utility/_multi_parts | 6 | ||||
-rw-r--r-- | Completion/Base/Utility/_regex_arguments | 6 | ||||
-rw-r--r-- | Completion/Base/Utility/_sep_parts | 2 |
3 files changed, 7 insertions, 7 deletions
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" |