1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 14:47:47 +00:00

use typos for corrections (#833)

I used [typos](https://github.com/crate-ci/typos/).
I manually checked all the corrections and they seem safe to me.
There are still some left, but those in this PR are good
This commit is contained in:
Maxim Uvarov 2024-05-08 19:47:54 +08:00 committed by GitHub
parent a0aa600153
commit afde2592a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
42 changed files with 102 additions and 90 deletions

View file

@ -14,10 +14,10 @@ export extern "btm" [
--basic(-b) # Use a more basic look
--battery # Show battery widget
--case_sensitive(-S) # Enables case sensitivity
--celsius(-c) # Sets temp type to celcius
--celsius(-c) # Sets temp type to celsius
--color: string@colorScheme # Use a pre-defined colorscheme
--config(-C): string # Sets the location of the config file
--curent_usage(-u) # Set CPU% to current system CPU%
--current_usage(-u) # Set CPU% to current system CPU%
--default_time_value(-t): int # Time value for graphs
--default_widget_count: int # Sets nth selected widget type to use default widget
--default_widget_type: string@widgetType # Set default select widget
@ -37,11 +37,11 @@ export extern "btm" [
--network_use_bytes # Network widget as bytes
--network_use_logs # Network eidget with logs
--process_command # Show processes as commands
--rate(-r): int # Sets referesh
--rate(-r): int # Sets refresh
--regex(-R) # Enable regex by default
--show_table_scroll_position # Show scroll position
--time-delta(-d): int # Amout changed when zooming in/out
--time-delta(-d): int # Amount changed when zooming in/out
--tree(-T) # Show processes as tree
--version(-V) # Prints version information
--whole-word(-w) # Search results match entrie query
--whole-word(-w) # Search results match entries query
]

View file

@ -167,7 +167,7 @@ export extern "cargo clean" [
# Build a package's documentation
export extern "cargo doc" [
--open # Open the docs in a browser after building them
--no-deps # Do not build documentation for dependencie
--no-deps # Do not build documentation for dependency
--document-private-items # Include non-public items in the documentation
--package(-p): string@"nu-complete cargo packages" # Document only the specified packages
--workspace # Document all members in the workspace
@ -307,7 +307,7 @@ export extern "cargo test" [
# Execute benchmarks of a package
export extern "cargo bench" [
bench_option_seperator?: string
bench_option_separator?: string
...options: any # Options to be passed to the benchmarks
--no-run # Compile, but don't run benchmarks
--no-fail-fast # Run all benchmarks regardless of failure

View file

@ -23,7 +23,7 @@ extern "curl" [
--crlfile # (TLS) Provide a file using PEM format with a Certificate Revocation List
--data-ascii # (HTTP) Alias for -d, --data
--data-binary # (HTTP) Post data exactly as specified with no processing
--data-raw # (HTTP) Post data like --data but without interpeting "@
--data-raw # (HTTP) Post data like --data but without interpreting "@
--data-urlencode # (HTTP) Post data URL-encoded
--data(-d) # (HTTP) Sends the specified data in a POST request to the HTTP server
--delegation # (GSS/kerberos) Tell the server how much it can delegate for user creds
@ -254,7 +254,7 @@ extern "curl PEM, DER ENG P12" [
--crlfile # (TLS) Provide a file using PEM format with a Certificate Revocation List
--data-ascii # (HTTP) Alias for -d, --data
--data-binary # (HTTP) Post data exactly as specified with no processing
--data-raw # (HTTP) Post data like --data but without interpeting "@
--data-raw # (HTTP) Post data like --data but without interpreting "@
--data-urlencode # (HTTP) Post data URL-encoded
--data(-d) # (HTTP) Sends the specified data in a POST request to the HTTP server
--delegation # (GSS/kerberos) Tell the server how much it can delegate for user creds

View file

@ -194,7 +194,7 @@ export extern "git fetch" [
--write-fetch-head # Write fetched refs in FETCH_HEAD (default)
--no-write-fetch-head # Do not write FETCH_HEAD
--force(-f) # Always update the local branch
--keep(-k) # Keep dowloaded pack
--keep(-k) # Keep downloaded pack
--multiple # Allow several arguments to be specified
--auto-maintenance # Run 'git maintenance run --auto' at the end (default)
--no-auto-maintenance # Don't run 'git maintenance' at the end
@ -266,7 +266,7 @@ export extern "git pull" [
export extern "git switch" [
switch?: string@"nu-complete git switch" # name of branch to switch to
--create(-c) # create a new branch
--detach(-d): string@"nu-complete git log" # switch to a commit in a detatched state
--detach(-d): string@"nu-complete git log" # switch to a commit in a detached state
--force-create(-C): string # forces creation of new branch, if it exists then the existing branch will be reset to starting point
--force(-f) # alias for --discard-changes
--guess # if there is no local branch which matches then name but there is a remote one then this is checked out

View file

@ -2,7 +2,7 @@
extern "less" [
--help(-?) # Display help and exit
--search-skip-screen(-a) # Search after end of screen
--auto-buffers(-B) # Disable automtic buffer allocation
--auto-buffers(-B) # Disable automatic buffer allocation
--clear-screen(-c) # Repaint from top
--CLEAR-SCREEN(-C) # Clear and repaint from top
--dumb(-d) # Suppress error for lacking terminal capability
@ -10,7 +10,7 @@ extern "less" [
--QUIT-AT-EOF(-E) # Exit on EOF
--force(-f) # Open non-regular files
--quit-if-one-screen(-F) # Quit if file shorter than one screen
--hilite-search(-g) # Hilight one search target
--hilite-search(-g) # Highlight one search target
--HILITE-SEARCH(-G) # No search highlighting
--ignore-case(-i) # Search ignores lowercase case
--IGNORE-CASE(-I) # Search ignores all case
@ -22,8 +22,8 @@ extern "less" [
--LINE-NUMBERS(-N) # Display line number for each line
--quiet(-q) # Silent mode
--silent # Silent mode
--QUIET(-Q) # Completly silent mode
--SILENT # Completly silent mode
--QUIET(-Q) # Completely silent mode
--SILENT # Completely silent mode
--raw-control-chars(-r) # Display control chars
--RAW-CONTROL-CHARS(-R) # Display control chars, guess screen appearance
--squeeze-blank-lines(-s) # Multiple blank lines sqeezed
@ -46,7 +46,7 @@ extern "less" [
extern "less 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19" [
--help(-?) # Display help and exit
--search-skip-screen(-a) # Search after end of screen
--auto-buffers(-B) # Disable automtic buffer allocation
--auto-buffers(-B) # Disable automatic buffer allocation
--clear-screen(-c) # Repaint from top
--CLEAR-SCREEN(-C) # Clear and repaint from top
--dumb(-d) # Suppress error for lacking terminal capability
@ -54,7 +54,7 @@ extern "less 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19" [
--QUIT-AT-EOF(-E) # Exit on EOF
--force(-f) # Open non-regular files
--quit-if-one-screen(-F) # Quit if file shorter than one screen
--hilite-search(-g) # Hilight one search target
--hilite-search(-g) # Highlight one search target
--HILITE-SEARCH(-G) # No search highlighting
--ignore-case(-i) # Search ignores lowercase case
--IGNORE-CASE(-I) # Search ignores all case
@ -66,8 +66,8 @@ extern "less 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19" [
--LINE-NUMBERS(-N) # Display line number for each line
--quiet(-q) # Silent mode
--silent # Silent mode
--QUIET(-Q) # Completly silent mode
--SILENT # Completly silent mode
--QUIET(-Q) # Completely silent mode
--SILENT # Completely silent mode
--raw-control-chars(-r) # Display control chars
--RAW-CONTROL-CHARS(-R) # Display control chars, guess screen appearance
--squeeze-blank-lines(-s) # Multiple blank lines sqeezed

View file

@ -1,4 +1,4 @@
# many of the completions run op commands in the background which may prompt addtional verification/unlocks
# many of the completions run op commands in the background which may prompt additional verification/unlocks
# an OP_ACCOUNT environment variable is recommended to avoid this
# commented out aliases work when imported with `use` but not `source`

View file

@ -10,7 +10,7 @@ export extern "pass update" [
--multiline(-m) # Update multiline passwords. If not set, only the first line of a password file is updated.
--include(-i): string # Only update the passwords that match a regex.
--exclude(-e): string # Do not update the passwords that match a regex.
--edit(-E) # Edit the passwords useing the default editor.
--edit(-E) # Edit the passwords using the default editor.
--force(-f) # Force update.
--version(-V) # Show version information.
--help(-h) # Print a help message.

View file

@ -26,7 +26,7 @@ export extern "reflector" [
--score: int # Limit the list to the n servers with the highest score.
--number(-n): int # Return at most n mirrors.
--protocol(-p): string@"nu-complete protocol" # Match one of the given protocols, e.g. "https" or "ftp". Multiple protocols may be selected using commas (e.g. "https,http") or by passing this option multiple times.
--complection-percent: int # Set the minimum completion percent for the returned mirrors. Check the mirrorstatus webpage for the meaning of this parameter. Default value: 100.0.
--completion-percent: int # Set the minimum completion percent for the returned mirrors. Check the mirrorstatus webpage for the meaning of this parameter. Default value: 100.0.
--isos # Only return mirrors that host ISOs.
--ipv4 # Only return mirrors that support IPv4.
--ipv6 # Only return mirrors that support IPv6.

View file

@ -119,7 +119,7 @@ def scoopShims [] {
# Windows command line installer
export extern "scoop" [
alias?: string@scoopCommands # avaible scoop commands and aliases
alias?: string@scoopCommands # available scoop commands and aliases
--help(-h) # Show help for this command.
--version(-v) # Show current scoop and added buckets versions
]
@ -357,7 +357,7 @@ export extern "scoop config NO_JUNCTIONS" [
value?: string@scoopBooleans
]
# Git repository containining scoop source code.
# Git repository containing scoop source code.
export extern "scoop config SCOOP_REPO" [
value?: string@scoopRepos
]
@ -457,7 +457,7 @@ export extern "scoop config aria2-retry-wait" [
value?: number
]
# Number of connections used for downlaod.
# Number of connections used for download.
export extern "scoop config aria2-split" [
value?: number
]
@ -467,7 +467,7 @@ export extern "scoop config aria2-max-connection-per-server" [
value?: number
]
# Downloaded files will be splitted by this configured size and downloaded using multiple connections.
# Downloaded files will be split by this configured size and downloaded using multiple connections.
export extern "scoop config aria2-min-split-size" [
value?: string
]

View file

@ -1974,7 +1974,7 @@ extern "virsh pool-edit" [
# Storage pool information
extern "virsh pool-info" [
--bytes # Reture pool info in bytes
--bytes # Return pool info in bytes
...args
]

View file

@ -237,7 +237,7 @@ def "nu-complete yarn npm audit severity" [] {
export extern "yarn npm audit" [
--all(-A) # Audit dependencies from all workspaces
--recursive(-R) # Audit transitive dependencies as well
--enviorment: string # Which enviorments to cover
--environment: string # Which environments to cover
--json # Format the output as an NDJSON stream
--severity: string@"nu-complete yarn npm audit severity" # Minimal severity requested for packages to be displayed
]
@ -343,7 +343,7 @@ export extern "yarn plugin import" [
plugin: string@"nu-complete yarn plugin import"
]
# List the avalible offical plugins.
# List the available official plugins.
export extern "yarn plugin list" [
--json # Format the output as an NDJSON stream
]
@ -410,7 +410,7 @@ export extern "yarn search" []
export extern "yarn set" []
# Enfore a package resolution
# Enforce a package resolution
export extern "yarn set resolution" [
--save(-s) # Persist the resolution inside the top-level manifest
descriptor: string
@ -553,7 +553,7 @@ export extern "yarn workspaces foreach" [
...commandName: string
]
# List all avalible workspaces
# List all available workspaces
export extern "yarn workspaces list" [
--since # Only include workspaces that have been changed since the specified ref.
--recursive(-R) # Find packages via dependencies/devDependencies instead of using the workspaces field

View file

@ -127,7 +127,7 @@ export extern "zellij action rename-tab" [
export extern "zellij action new-tab" [
--cwd(-c): path # Change the working directory of the new tab
--help(-h) # Print help information
--layout(-l): string@"nu-complete zellij layouts" # Layout ot use for the new tab
--layout(-l): string@"nu-complete zellij layouts" # Layout to use for the new tab
--layout-dir: path # Default folder to look for layouts
--name(-n): string # Name for the tab
]