浏览代码

chore: fix some typos (#12818)

Bin Chang 4 天之前
父节点
当前提交
ccbe504f22
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      lib/misc.zsh
  2. 1 1
      plugins/macports/README.md
  3. 1 1
      plugins/opentofu/README.md

+ 1 - 1
lib/misc.zsh

@@ -19,7 +19,7 @@ setopt multios              # enable redirect to multiple streams: echo >file1 >
 setopt long_list_jobs       # show long list format job notifications
 setopt interactivecomments  # recognize comments
 
-# define pager dependant on what is available (less or more)
+# define pager depending on what is available (less or more)
 if (( ${+commands[less]} )); then
   env_default 'PAGER' 'less'
   env_default 'LESS' '-R'

+ 1 - 1
plugins/macports/README.md

@@ -16,7 +16,7 @@ plugins=(... macports)
 | pc    | `sudo port clean --all installed`  | Clean up intermediate installation files for installed ports |
 | pi    | `sudo port install`                | Install package given as argument                            |
 | pli   | `port livecheck installed`         | Check for updates for installed ports                        |
-| plm   | `port-livecheck-maintainer`        | Check for updates of ports mainained by the specified users  |
+| plm   | `port-livecheck-maintainer`        | Check for updates of ports maintained by the specified users  |
 | psu   | `sudo port selfupdate`             | Update ports tree with MacPorts repository                   |
 | puni  | `sudo port uninstall inactive`     | Uninstall inactive ports                                     |
 | puo   | `sudo port upgrade outdated`       | Upgrade ports with newer versions available                  |

+ 1 - 1
plugins/opentofu/README.md

@@ -40,7 +40,7 @@ plugins=(... opentofu)
 
 - `tofu_prompt_info`: shows the current workspace when in an OpenTofu project directory.
 
-- `tofu_version_prompt_info`: shows the current version of the `tofu` commmand.
+- `tofu_version_prompt_info`: shows the current version of the `tofu` command.
 
 To use them, add them to a `PROMPT` variable in your theme or `.zshrc` file: