chore: fix some typos (#12818)

This commit is contained in:
Bin Chang 2024-11-21 16:01:48 +08:00 committed by GitHub
parent 6c91a5e389
commit ccbe504f22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@ setopt multios # enable redirect to multiple streams: echo >file1 >
setopt long_list_jobs # show long list format job notifications setopt long_list_jobs # show long list format job notifications
setopt interactivecomments # recognize comments 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 if (( ${+commands[less]} )); then
env_default 'PAGER' 'less' env_default 'PAGER' 'less'
env_default 'LESS' '-R' env_default 'LESS' '-R'

View file

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

View file

@ -40,7 +40,7 @@ plugins=(... opentofu)
- `tofu_prompt_info`: shows the current workspace when in an OpenTofu project directory. - `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: To use them, add them to a `PROMPT` variable in your theme or `.zshrc` file: