about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorDimitris Apostolou <dimitris.apostolou@icloud.com>2021-11-12 23:33:37 +0200
committerOliver Kiddle <opk@zsh.org>2021-11-12 23:54:34 +0100
commit356dcb20cef387a5eea5f8fcbfe123b24e3bb928 (patch)
treed5b153637b9652f6dd8edc1acdac4ef589579765 /Functions
parentc7f4634549697a65af0dc82e97e8b066bfb81f6c (diff)
downloadzsh-356dcb20cef387a5eea5f8fcbfe123b24e3bb928.tar.gz
zsh-356dcb20cef387a5eea5f8fcbfe123b24e3bb928.tar.xz
zsh-356dcb20cef387a5eea5f8fcbfe123b24e3bb928.zip
github #82: Fix typos
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Chpwd/cdr2
-rw-r--r--Functions/Misc/regexp-replace2
-rw-r--r--Functions/Newuser/zsh-newuser-install2
3 files changed, 3 insertions, 3 deletions
diff --git a/Functions/Chpwd/cdr b/Functions/Chpwd/cdr
index 4bed88b13..43745e5aa 100644
--- a/Functions/Chpwd/cdr
+++ b/Functions/Chpwd/cdr
@@ -55,7 +55,7 @@
 # pattern from the directory list.  The match is against the fully
 # expanded directory path and the full string must match (use wildcards
 # at the ends if needed).  If output is going to a terminal, the
-# function will print the new list for the user to confrim; this can be
+# function will print the new list for the user to confirm; this can be
 # skipped by giving -P instead of -p.
 #
 # Details of directory handling
diff --git a/Functions/Misc/regexp-replace b/Functions/Misc/regexp-replace
index 0d5948075..d4408f0f7 100644
--- a/Functions/Misc/regexp-replace
+++ b/Functions/Misc/regexp-replace
@@ -40,7 +40,7 @@ if (( $4 )); then
     # append offsets and computed replacement to the array
     # we need to perform the evaluation in a scalar assignment so that if
     # it generates an array, the elements are converted to string (by
-    # joining with the first chararacter of $IFS as usual)
+    # joining with the first character of $IFS as usual)
     5=${(e)3}
     argv+=(${(s: :)ZPCRE_OP} "$5")
 
diff --git a/Functions/Newuser/zsh-newuser-install b/Functions/Newuser/zsh-newuser-install
index 60ac16b13..9e911d07c 100644
--- a/Functions/Newuser/zsh-newuser-install
+++ b/Functions/Newuser/zsh-newuser-install
@@ -627,7 +627,7 @@ Type:
 }
 
 
-# Print and despatch a submenu.
+# Print and dispatch a submenu.
 # The first argument is the title.  The remaining arguments
 # are pairs of descriptions and functions to execute.
 # There shouldn't be more than 9 entries.