spelling fixes

This commit is contained in:
dgames
2022-01-15 11:00:58 -05:00
parent f39aade500
commit 357e51acd1
12 changed files with 30 additions and 30 deletions

View File

@ -140,9 +140,9 @@ echo. in he alias is desired. Variables in aliases surrounded by double
echo. quotes only require '^^%%' vs '^^^^^^^^%%'
echo. $* - allows the alias to assume all the parameters of the supplied
echo. command.
echo. $1-$9 - Allows you to seperate parameter by number, much like %%1 in
echo. $1-$9 - Allows you to separate parameter by number, much like %%1 in
echo. batch.
echo. $T - Command seperator, allowing you to string several commands
echo. $T - Command separator, allowing you to string several commands
echo. together into one alias.
echo.
echo. For more information, read DOSKEY /?

10
vendor/bin/cexec.cmd vendored
View File

@ -84,29 +84,29 @@ echo Usage:
echo.
echo cexec /setPath [NOT] flagName command/program [parameters]
echo.
echo /setPath Generate a global varibles %%ccall%% and %%cexec%% for
echo /setPath Generate a global variables %%ccall%% and %%cexec%% for
echo quicker use. Following arguments will be ignored.
echo.
echo NOT Specifies that cexec should carry out
echo the command only if the flag is missing.
echo.
echo /[flagName] Specifies which flag name is to detect. It's recommand
echo /[flagName] Specifies which flag name is to detect. It's recommended
echo to use a pair of double quotation marks to wrap
echo your flag name to avoid exceed expectation.
echo.
echo command/program Specifies the command to carry out if the
echo argument name is detected. It's recommand to
echo argument name is detected. It's recommended to
echo use a pair of double quotation marks to
echo wrap your command to avoid exceed expectation.
echo.
echo parameters These are the parameters passed to the command/program.
echo It's recommand to use a pair of double quotation marks
echo It's recommended to use a pair of double quotation marks
echo to wrap your flag name to avoid exceed expectation.
echo.
echo Examples:
echo.
echo These examples are expected to be written in %cmder_root%/config/user-profile.cmd
echo CExec evaluates the environment varible "CMDER_USER_FLAGS" and conditionally
echo CExec evaluates the environment variable "CMDER_USER_FLAGS" and conditionally
echo caries out actions based on flags that are passed.
echo.
echo Case 1:

2
vendor/cmder_exinit vendored
View File

@ -10,7 +10,7 @@
# zsh - Copy to /etc/profile.d/cmder_exinit.zsh
# Add portable user customizations ${CMDER_ROOT}/config/user-profile.sh or
# add whole config scripts to ${CMDER_ROOT}/config/profile.d both will be sourced
# from mthis file and be appied to the environment at startup.
# from this file and be applied to the environment at startup.
#
# These customizations will follow Cmder if $CMDER_ROOT is copied
# to another machine.

2
vendor/init.bat vendored
View File

@ -131,7 +131,7 @@ goto var_loop
if defined CMDER_USER_CONFIG (
%print_debug% init.bat "CMDER IS ALSO USING INDIVIDUAL USER CONFIG FROM '%CMDER_USER_CONFIG%'!"
if not exist "%CMDER_USER_CONFIG%\opt" md "%CMDER_USER_CONFIG%\opt"
if not exist "%CMDER_USER_CONFIG%\..\opt" md "%CMDER_USER_CONFIG%\..\opt"
)
:: Pick right version of clink

View File

@ -14,7 +14,7 @@ exit /b
:read_version
:::===============================================================================
:::read_version - Get the git.exe verion
:::read_version - Get the git.exe version
:::.
:::include:
:::.
@ -54,7 +54,7 @@ exit /b
if /i "%%A %%B" == "git version" (
set "GIT_VERSION=%%C"
) else (
echo "'git --version' returned an inproper version string!"
echo "'git --version' returned an improper version string!"
pause
exit /b
)

View File

@ -162,7 +162,7 @@ exit /b
:::.
:::options:
:::.
::: [max_depth] <in> Max recuse depth. Default: 1
::: [max_depth] <in> Max recursion depth. Default: 1
:::.
::: append <in> Append instead to path env variable rather than pre-pend.
:::.

2
vendor/profile.ps1 vendored
View File

@ -14,7 +14,7 @@ if ($ENV:CMDER_USER_CONFIG) {
# write-host "CMDER IS ALSO USING INDIVIDUAL USER CONFIG FROM '$ENV:CMDER_USER_CONFIG'!"
}
# We do this for Powershell as Admin Sessions because CMDER_ROOT is not beng set.
# We do this for Powershell as Admin Sessions because CMDER_ROOT is not being set.
if (! $ENV:CMDER_ROOT ) {
if ( $ENV:ConEmuDir ) {
$ENV:CMDER_ROOT = resolve-path( $ENV:ConEmuDir + "\..\.." )

View File

@ -124,7 +124,7 @@ Set-Variable -Name PSGET_PSD1 -Value 'PSD1' -Option Constant -Scope Script
Description
-----------
Installs the module witout importing it to the current session
Installs the module without importing it to the current session
.EXAMPLE
# Install-Module PoshHg -AddToProfile
@ -448,7 +448,7 @@ function Update-Module {
Description
-----------
Retrieves information about all registerd modules that starts with PoshCo.
Retrieves information about all registered modules that start with PoshCo.
#>
function Get-PsGetModuleInfo {
[CmdletBinding()]
@ -694,7 +694,7 @@ function Install-ModuleFromDirectory {
throw "Module $Module was not found in central repository"
}
# $Module and $moduleData.Id are not equally by garantee, so we have to test again.
# $Module and $moduleData.Id are not equally by guarantee, so we have to test again.
if (Test-ModuleInstalledAndImport -ModuleName:$moduleData.ModuleName -Destination:$Destination -Update:$Update -DoNotImport:$DoNotImport -ModuleHash:$ModuleHash) {
return
}
@ -1488,7 +1488,7 @@ function Invoke-DownloadModuleFromWeb {
Install the module inside of the provided directory into the defined destination
and perform the following steps:
* Rename module if requestes by provided InstallWithModuleName
* Rename module if requested by provided InstallWithModuleName
* If a ModuleHash is provided, check if it matches.
* Add the destination path to the PSModulePath if necessary (depends on provided parameters)
* Place the conventions-matching module folder in the destination folder
@ -1796,9 +1796,9 @@ function Test-ModuleInstalledAndImport {
<#
.SYNOPSIS
Extract the content of the referenced zip file to the defind destination
Extract the content of the referenced zip file to the defined destination
.PARAMATER Path
.PARAMETER Path
Path to a zip file with the file extension '.zip'
.Parameter Destination
@ -1856,7 +1856,7 @@ function Expand-ZipModule {
<#
.SYNOPSIS
Update '$env:PSModulePath' from 'User' and 'Machine' scope envrionment variables
Update '$env:PSModulePath' from 'User' and 'Machine' scope environment variables
#>
function Update-PSModulePath {
process {
@ -2152,4 +2152,4 @@ Export-ModuleMember TabExpansion
Export-ModuleMember -Alias inmo
Export-ModuleMember -Alias ismo
Export-ModuleMember -Alias upmo
#endregion
#endregion

View File

@ -12,7 +12,7 @@
:: set "PATH=%CMDER_ROOT%\vendor\whatever;%PATH%"
:: arguments in this batch are passed from init.bat, you can quickly parse them like so:
:: more useage can be seen by typing "cexec /?"
:: more usage can be seen by typing "cexec /?"
:: %ccall% "/customOption" "command/program"