Skip to content

Commit

Permalink
chore(docs): fix some typos (ohmyzsh#11211)
Browse files Browse the repository at this point in the history
  • Loading branch information
george124816 authored and kareefardi committed Oct 14, 2022
1 parent 243bd80 commit 728a556
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions plugins/emoji/update_emoji.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# def country_iso(_all_names, _omz_name):
# """ Using the external library country_converter,
# this funciton can detect the ISO2 and ISO3 codes
# this function can detect the ISO2 and ISO3 codes
# of the country. It takes as argument the array
# with all the names of the emoji, and returns that array."""
# omz_no_underscore = re.sub(r'_', r' ', _omz_name)
Expand Down Expand Up @@ -96,7 +96,7 @@ def snake_case(_string):
# Special treatment by status
# Enables us to have every emoji combination,
# even the one that are not officially sanctionned
# and are implemeted by, say, only one vendor
# and are implemented by, say, only one vendor
if _status == "unqualified":
shortname += "_unqualified"
elif _status == "minimally-qualified":
Expand Down
2 changes: 1 addition & 1 deletion plugins/lpass/_lpass
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ _lpass() {
generic_options+=('--color=[Color: auto | never | always]')
fi
if [ "$has_interactive" -eq 1 ]; then
generic_options+=("--non-interactive[Use stardard input instead of $EDITOR]")
generic_options+=("--non-interactive[Use standard input instead of $EDITOR]")
fi
_arguments $generic_options
fi
Expand Down
2 changes: 1 addition & 1 deletion plugins/ng/_ng
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ elif (( CURRENT == 3 )); then
# ...
# }
# }
# In abscence of a proper JSON parser, just grab the lines with
# In absence of a proper JSON parser, just grab the lines with
# a 2-space indentation and only the stuff inside quotes
local -a projects
projects=(${(@f)"$(ng config projects 2>/dev/null | sed -n 's/^ "\([^"]\+\)".*$/\1/p')"})
Expand Down
2 changes: 1 addition & 1 deletion plugins/pm2/_pm2
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ start_options=(
)
logs_options=(
'--json[json log output]'
'--format[formated log output]'
'--format[formatted log output]'
'--raw[raw output]'
'--err[only shows error output]'
'--out[only shows standard output]'
Expand Down
2 changes: 1 addition & 1 deletion plugins/salt/_salt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# zstyle ':completion::complete:salt(|-call):modules:' use-cache true
# zstyle ':completion::complete:salt(|-cp|-call|-run|-key):salt_dir:' use-cache true
#
# cache validation can be controled with the style cache-ttl.
# cache validation can be controlled with the style cache-ttl.
# it expects two arguments: number (days|hours|weeks|months)
# to invalidate the minion cache after four days:
# zstyle ':completion::complete:salt(|-cp|-call):minions:' cache-ttl 4 days
Expand Down
2 changes: 1 addition & 1 deletion plugins/swiftpm/_swift
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ _swift_package_init() {
_swift_package_unedit() {
arguments=(
":The name of the package to unedit:_swift_dependency"
"--force[Unedit the package even if it has uncommited and unpushed changes.]"
"--force[Unedit the package even if it has uncommitted and unpushed changes.]"
)
_arguments $arguments && return
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/systemadmin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ plugins=(... systemadmin)
| accessip10 | List the top 10 accesses to the ip address in the nginx/access.log file or another log file if specified |
| visitpage20 | List the top 20 most visited files or pages in the nginx/access.log file or another log file if specified |
| consume100 | List the 100 most time-consuming Page lists (more than 60 seconds) as well as the corresponding number of occurrences |
| webtraffic | List website traffic statistics in GB from tne nginx/access.log file or another log file if specified |
| webtraffic | List website traffic statistics in GB from the nginx/access.log file or another log file if specified |
| c404 | List statistics on 404 connections in the nginx/access.log file or another log file if specified |
| httpstatus | List statistics based on http status in the nginx/access.log file or another log file if specified |
| d0 | Delete 0 byte files recursively in the current directory or another if specified |
Expand Down
2 changes: 1 addition & 1 deletion plugins/terraform/_terraform
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ __apply() {
'-lock=[(true) Lock the state file when locking is supported.]:lock:(true false)' \
'-lock-timeout=[(0s) Duration to retry a state lock.]' \
'-input=[(true) Ask for input for variables if not directly set.]' \
'-no-color[If specified, output wil be colorless.]' \
'-no-color[If specified, output will be colorless.]' \
'-parallelism=[(10) Limit the number of parallel resource operations.]' \
'-refresh=[(true) Update state prior to checking for differences. This has no effect if a plan file is given to apply.]' \
'-state=[(terraform.tfstate) Path to read and save state (unless state-out is specified).]:statefile:_files -g "*.tfstate"' \
Expand Down
2 changes: 1 addition & 1 deletion tools/require_tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ usage() {
NAME
require_tool.sh - Ensure version of a tool is greater than the one expected
SYNOPSYS
SYNOPSIS
require_tool.sh [ -h ]
[ --help ]
[ TOOL MIN_VERSION ]
Expand Down

0 comments on commit 728a556

Please sign in to comment.