c8ba08581dff43c18c1b0d9e7312ca32e6d97124

Author
shuangcui <fliter@qq.com>
Committer
GitHub <noreply@github.com>
Date

Message

docs: fix typos (#12284)

Diff

This diff is truncated to protect this page.

 1diff --git a/lib/cli.zsh b/lib/cli.zsh
 2index 561c1b98b12e54d17332195f5e46b7efea71c25b..aa36a6ab57ab4d842a2bdab8020258d1538061fc 100644
 3--- a/lib/cli.zsh
 4+++ b/lib/cli.zsh
 5@@ -448,7 +448,7 @@ function _omz::plugin::load {
 6     if [[ ! -f "$base/_$plugin" && ! -f "$base/$plugin.plugin.zsh" ]]; then
 7       _omz::log warn "'$plugin' is not a valid plugin"
 8       continue
 9-    # It it is a valid plugin, add its directory to $fpath unless it is already there
10+    # It is a valid plugin, add its directory to $fpath unless it is already there
11     elif (( ! ${fpath[(Ie)$base]} )); then
12       fpath=("$base" $fpath)
13     fi
14diff --git a/plugins/catimg/README.md b/plugins/catimg/README.md
15index 8f268805072d639298fdd18e461bdae888e60b56..68dc33c1f429cac40485032d1e998dca91570ab2 100644
16--- a/plugins/catimg/README.md
17+++ b/plugins/catimg/README.md
18@@ -1,6 +1,6 @@
19 # catimg
20 
21-Plugin for displaying images on the terminal using the the `catimg.sh` script provided by [posva](https://github.com/posva/catimg)
22+Plugin for displaying images on the terminal using the `catimg.sh` script provided by [posva](https://github.com/posva/catimg)
23 
24 To use it, add `catimg` to the plugins array in your zshrc file:
25 
26diff --git a/plugins/emacs/README.md b/plugins/emacs/README.md
27index 8ed4a14733078cd8a073fc85c525a4b7bb98d07e..47c7644ab56c8f18cc4a3ddb3fa19ded2ade83aa 100644
28--- a/plugins/emacs/README.md
29+++ b/plugins/emacs/README.md
30@@ -27,4 +27,4 @@ The plugin uses a custom launcher (which we'll call here `$EMACS_LAUNCHER`) that
31 | eeval  | `$EMACS_LAUNCHER --eval`                           | Same as `M-x eval` but from outside Emacs                      |
32 | eframe | `emacsclient --alternate-editor="" --create-frame` | Create new X frame                                             |
33 | efile  | -                                                  | Print the path to the file open in the current buffer          |
34-| ecd    | -                                                  | Print the directory of the file open in the the current buffer |
35+| ecd    | -                                                  | Print the directory of the file open in the current buffer |
36diff --git a/plugins/emacs/emacs.plugin.zsh b/plugins/emacs/emacs.plugin.zsh
37index 4747f035b9d5b74d01e316512d518b87f001613a..5aa621803aae400369f43c2a614787d9ac420ac5 100644
38--- a/plugins/emacs/emacs.plugin.zsh
39+++ b/plugins/emacs/emacs.plugin.zsh
40@@ -60,7 +60,7 @@ function efile {
41 }
42 
43 # Write to standard output the directory of the file
44-# opened in the the current buffer
45+# opened in the current buffer
46 function ecd {
47   local file
48   file="$(efile)" || return $?
49diff --git a/plugins/ipfs/_ipfs b/plugins/ipfs/_ipfs
50index 8771bc4ba9b8e5fafaf71de702fc4e145807b36d..5b8b05b98ff411608f23267b79120a0ae3d51d77 100644
51--- a/plugins/ipfs/_ipfs
52+++ b/plugins/ipfs/_ipfs
53@@ -202,7 +202,7 @@ _ipfs_subcommand(){
54               _arguments \
55                 '--resolve[Check if the given path can be resolved before publishing. Default: true.]' \
56                 '(-t --lifetime)'{-t,--lifetime}'[Time duration that the record will be valid for. Default: 24h.]' \
57-                '--allow-offline[When offline, save the IPNS record to the the local datastore without broadcasting to the network instead of simply failing.]' \
58+                '--allow-offline[When offline, save the IPNS record to the local datastore without broadcasting to the network instead of simply failing.]' \
59                 '--ttl[Time duration this record should be cached for. Uses the same syntax as the lifetime option. (caution: experimental).]' \
60                 '(-k --key)'{-k,--key}"[Name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'. Default: self.]" \
61                 '(-Q --quieter)'{-Q,--quieter}'[Write only final hash.]' \
62diff --git a/plugins/nomad/_nomad b/plugins/nomad/_nomad
63index 1c935a02eac939ab3bfc6c564d9b63c8f2e150ab..4c6cb2fcb07289a46fa522ca962b7271091ab482 100644
64--- a/plugins/nomad/_nomad
65+++ b/plugins/nomad/_nomad
66@@ -97,7 +97,7 @@ __run() {
67     '-address=[(addr) The address of the Nomad server. Overrides the NOMAD_ADDR environment variable if set. Default = http://127.0.0.1:4646]' \
68     '-region=[(region) The region of the Nomad servers to forward commands to. Overrides the NOMAD_REGION environment variable if set. Defaults to the Agent s local region.]' \
69     '-no-color[Disables colored command output.]' \
70diff --git a/plugins/per-directory-history/per-directory-history.zsh b/plugins/per-directory-history/per-directory-history.zsh
71index b33e0b5dd4e0ecf0a96a5211131946441b279158..926373ae0fe284af660269b7d3754f81d9bfafb0 100644
72--- a/plugins/per-directory-history/per-directory-history.zsh
73+++ b/plugins/per-directory-history/per-directory-history.zsh
74@@ -21,7 +21,7 @@
75 #-------------------------------------------------------------------------------
76 #
77 # The idea/inspiration for a per directory history is from Stewart MacArthur[1]
78-# and Dieter[2], the implementation idea is from Bart Schaefer on the the zsh
79+# and Dieter[2], the implementation idea is from Bart Schaefer on the zsh
80 # mailing list[3].  The implementation is by Jim Hester in September 2012.
81 #
82 # [1]: http://www.compbiome.com/2010/07/bash-per-directory-bash-history.html
83diff --git a/plugins/ssh-agent/README.md b/plugins/ssh-agent/README.md
84index 8c118e65bfa0aaf1de5c11d4600ec287f3315312..0afa80cc87a1bbaa701f0f2ea6dc61e55d9f0254 100644
85--- a/plugins/ssh-agent/README.md
86+++ b/plugins/ssh-agent/README.md
87@@ -90,7 +90,7 @@ use the `ssh-add-args` setting. You can pass multiple arguments separated by spa
88 zstyle :omz:plugins:ssh-agent ssh-add-args -K -c -a /run/user/1000/ssh-auth
89 ```
90 
91-These will then be passed the the `ssh-add` call as if written directly. The example
92+These will then be passed the `ssh-add` call as if written directly. The example
93 above will turn into:
94 
95 ```zsh