mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 14:30:12 +08:00
chore(docs): fix some typos (#11211)
This commit is contained in:
parent
1c879f67b4
commit
e0e22d1120
@ -56,7 +56,7 @@ typeset -gAH emoji_groups
|
||||
|
||||
# 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)
|
||||
@ -96,7 +96,7 @@ def name_to_omz(_name, _group, _subgroup, _status):
|
||||
# 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":
|
||||
|
@ -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
|
||||
|
@ -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')"})
|
||||
|
@ -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]'
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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 |
|
||||
|
@ -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"' \
|
||||
|
@ -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 ]
|
||||
|
Loading…
Reference in New Issue
Block a user