e0e22d112013aee22635b6afe4c2c9d1bf88cbf0

Author
George Rodrigues <georgerodrigues@live.com.au>
Committer
GitHub <noreply@github.com>
Date

Message

chore(docs): fix some typos (#11211)

Diff

  1diff --git a/plugins/emoji/update_emoji.py b/plugins/emoji/update_emoji.py
  2index eb945b9ef9bb3885310bc6c110fd05b682298684..18b3c060d5c51aca23cdddac1c61addd3400380b 100644
  3--- a/plugins/emoji/update_emoji.py
  4+++ b/plugins/emoji/update_emoji.py
  5@@ -56,7 +56,7 @@ typeset -gAH emoji_groups
  6 
  7 # def country_iso(_all_names, _omz_name):
  8 #     """ Using the external library country_converter,
  9-#         this funciton can detect the ISO2 and ISO3 codes
 10+#         this function can detect the ISO2 and ISO3 codes
 11 #         of the country. It takes as argument the array
 12 #         with all the names of the emoji, and returns that array."""
 13 #     omz_no_underscore = re.sub(r'_', r' ', _omz_name)
 14@@ -96,7 +96,7 @@ def name_to_omz(_name, _group, _subgroup, _status):
 15     # Special treatment by status
 16     # Enables us to have every emoji combination,
 17     # even the one that are not officially sanctionned
 18-    # and are implemeted by, say, only one vendor
 19+    # and are implemented by, say, only one vendor
 20     if _status == "unqualified":
 21         shortname += "_unqualified"
 22     elif _status == "minimally-qualified":
 23diff --git a/plugins/lpass/_lpass b/plugins/lpass/_lpass
 24index e6193a22d74bc2d6d3f3096d520c1b0295dfc5b1..621a7bcd7fc4963a637498e350ae7fdbb6d8208a 100644
 25--- a/plugins/lpass/_lpass
 26+++ b/plugins/lpass/_lpass
 27@@ -106,7 +106,7 @@ _lpass() {
 28                 generic_options+=('--color=[Color: auto | never | always]')
 29             fi
 30             if [ "$has_interactive" -eq 1 ]; then
 31-                generic_options+=("--non-interactive[Use stardard input instead of $EDITOR]")
 32+                generic_options+=("--non-interactive[Use standard input instead of $EDITOR]")
 33             fi
 34             _arguments $generic_options
 35         fi
 36diff --git a/plugins/ng/_ng b/plugins/ng/_ng
 37index 9c96cf7e3b905286d7336405be33f10c9720c8ad..86c6ce187739d8717259b89f943d6a945c47eab4 100644
 38--- a/plugins/ng/_ng
 39+++ b/plugins/ng/_ng
 40@@ -46,7 +46,7 @@ elif (( CURRENT == 3 )); then
 41     #     ...
 42     #   }
 43     # }
 44-    # In abscence of a proper JSON parser, just grab the lines with
 45+    # In absence of a proper JSON parser, just grab the lines with
 46     # a 2-space indentation and only the stuff inside quotes
 47     local -a projects
 48     projects=(${(@f)"$(ng config projects 2>/dev/null | sed -n 's/^  "\([^"]\+\)".*$/\1/p')"})
 49diff --git a/plugins/pm2/_pm2 b/plugins/pm2/_pm2
 50index 86412aef12ba1f461577a2f2b611606cdecbf253..faa6a340474baa47c42c5885fbefbb8bd7c74eda 100644
 51--- a/plugins/pm2/_pm2
 52+++ b/plugins/pm2/_pm2
 53@@ -118,7 +118,7 @@ start_options=(
 54 )
 55 logs_options=(
 56     '--json[json log output]'
 57-    '--format[formated log output]'
 58+    '--format[formatted log output]'
 59     '--raw[raw output]'
 60     '--err[only shows error output]'
 61     '--out[only shows standard output]'
 62diff --git a/plugins/salt/_salt b/plugins/salt/_salt
 63index a1c55f3504d44e5175ff98e0402a66cd45863c30..589d21d8b88349f4e0a9359b57750f8cc78acb7e 100644
 64--- a/plugins/salt/_salt
 65+++ b/plugins/salt/_salt
 66@@ -9,7 +9,7 @@
 67 # zstyle ':completion::complete:salt(|-call):modules:'                use-cache true
 68 # zstyle ':completion::complete:salt(|-cp|-call|-run|-key):salt_dir:' use-cache true
 69 #
 70-# cache validation can be controled with the style cache-ttl.
 71+# cache validation can be controlled with the style cache-ttl.
 72 # it expects two arguments: number (days|hours|weeks|months)
 73 # to invalidate the minion cache after four days:
 74 # zstyle ':completion::complete:salt(|-cp|-call):minions:'            cache-ttl 4 days
 75diff --git a/plugins/swiftpm/_swift b/plugins/swiftpm/_swift
 76index fe6f1c9aa99a8acb147454ab2a5dadc7ecf4a4a8..3a923226d47377591a0fb9670103d13629e4b271 100644
 77--- a/plugins/swiftpm/_swift
 78+++ b/plugins/swiftpm/_swift
 79@@ -301,7 +301,7 @@ _swift_package_init() {
 80 _swift_package_unedit() {
 81     arguments=(
 82         ":The name of the package to unedit:_swift_dependency"
 83-        "--force[Unedit the package even if it has uncommited and unpushed changes.]"
 84+        "--force[Unedit the package even if it has uncommitted and unpushed changes.]"
 85     )
 86     _arguments $arguments && return
 87 }
 88diff --git a/plugins/systemadmin/README.md b/plugins/systemadmin/README.md
 89index 146b58605b523227dd28f4fe2d41544fb23e5dcd..3a9d9de661840454ec97446b0c3d58e6b79bd5d5 100644
 90--- a/plugins/systemadmin/README.md
 91+++ b/plugins/systemadmin/README.md
 92@@ -41,7 +41,7 @@ plugins=(... systemadmin)
 93 | accessip10  | List the top 10 accesses to the ip address in the nginx/access.log file or another log file if specified              |
 94 | visitpage20 | List the top 20 most visited files or pages in the nginx/access.log file or another log file if specified             |
 95 | consume100  | List the 100 most time-consuming Page lists (more than 60 seconds) as well as the corresponding number of occurrences |
 96-| webtraffic  | List website traffic statistics in GB from tne nginx/access.log file or another log file if specified                 |
 97+| webtraffic  | List website traffic statistics in GB from the nginx/access.log file or another log file if specified                 |
 98 | c404        | List statistics on 404 connections in the nginx/access.log file or another log file if specified                      |
 99 | httpstatus  | List statistics based on http status in the nginx/access.log file or another log file if specified                    |
100 | d0          | Delete 0 byte files recursively in the current directory or another if specified                                      |
101diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
102index a19e50670f1aee607c1189f1bbd1993cbcf0b3b5..6258345635a22bb069efbfaae610608aa8580c1d 100644
103--- a/plugins/terraform/_terraform
104+++ b/plugins/terraform/_terraform
105@@ -47,7 +47,7 @@ __apply() {
106         '-lock=[(true) Lock the state file when locking is supported.]:lock:(true false)' \
107         '-lock-timeout=[(0s) Duration to retry a state lock.]' \
108         '-input=[(true) Ask for input for variables if not directly set.]' \
109-        '-no-color[If specified, output wil be colorless.]' \
110+        '-no-color[If specified, output will be colorless.]' \
111         '-parallelism=[(10) Limit the number of parallel resource operations.]' \
112         '-refresh=[(true) Update state prior to checking for differences. This has no effect if a plan file is given to apply.]' \
113         '-state=[(terraform.tfstate) Path to read and save state (unless state-out is specified).]:statefile:_files -g "*.tfstate"' \
114diff --git a/tools/require_tool.sh b/tools/require_tool.sh
115index 1fa77f77abcfdd70231fa1fc841af5e25d6d26c5..19c5f6fa913279129b2b1f830218e630cc33a55c 100755
116--- a/tools/require_tool.sh
117+++ b/tools/require_tool.sh
118@@ -107,7 +107,7 @@ usage() {
119 NAME
120     require_tool.sh - Ensure version of a tool is greater than the one expected
121 
122-SYNOPSYS
123+SYNOPSIS
124     require_tool.sh [ -h ]
125                     [ --help ]
126                     [ TOOL MIN_VERSION ]