Fix a bunch of typos
authorMichael Prokop <mika@grml.org>
Sat, 23 Sep 2017 11:58:58 +0000 (13:58 +0200)
committerMichael Prokop <mika@grml.org>
Sat, 23 Sep 2017 11:59:48 +0000 (13:59 +0200)
s/Directoy/Directory/
s/Dont/Don't/
s/accross/across/
s/an other/another/
s/completition/completion/
s/directoy/directory/
s/dont/don't/
s/occurence/occurrence/
s/overwriten/overwritten/
s/prefered/preferred/
s/prevously/previously/
s/reenabled/re-enabled/
s/to to/to/
s/whith/with/

doc/grmlzshrc.t2t
etc/grml/lsb-functions
etc/vim/vimrc
etc/zsh/keephack
etc/zsh/zshrc
usr_share_grml/zsh/functions/Lookup/Backends/LOOKUP_be_gmane

index fafe2d3..844cb71 100644 (file)
@@ -580,7 +580,7 @@ Use case: you type "mv abc ~/testa/testb/testc/" and remember that the
 directory does not exist yet -> press **CTRL-xM** and problem solved.
 
 : **CTRL-x-p**
-Searches the last occurence of string before the cursor in the command history.
+Searches the last occurrence of string before the cursor in the command history.
 
 : **CTRL-x-z**
 Display help on keybindings and zsh line editor. Press consecutively to page through content.
@@ -592,7 +592,7 @@ Brings a job, which got suspended with CTRL-z back to foreground.
 === Customisation ===
 
 To customise keybindings, you can just use zsh's bindkey utility. However, if
-you plan to to use the `//zle-line-init//' or `//zle-line-finish//' hooks
+you plan to use the `//zle-line-init//' or `//zle-line-finish//' hooks
 yourself, make sure you call the following functions in the respective hook:
 
 - **zle-line-init**: //zle-smkx//
@@ -778,7 +778,7 @@ Runs a command in zsh with profiling enabled (See startup variable
 ZSH_PROFILE_RC above).
 
 : **salias()**
-Creates an alias whith sudo prepended, if $EUID is not zero. Run "salias -h"
+Creates an alias with sudo prepended, if $EUID is not zero. Run "salias -h"
 for details. See also xunfunction() below.
 
 : **simple-extract()**
index de1cd4c..17a42a3 100644 (file)
@@ -151,7 +151,7 @@ log_end_msg() {
 # initialisation {{{
 # internal variables
 
-# Dont output to stdout?
+# Don't output to stdout?
 RC_QUIET_STDOUT="no"
 
 # Default values for e-message indentation and dots
@@ -159,7 +159,7 @@ RC_INDENTATION=''
 RC_DEFAULT_INDENT=2
 #RC_DOT_PATTERN=' .'
 RC_DOT_PATTERN=''
-# dont output to stdout?
+# don't output to stdout?
 rc_quiet_stdout="no"
 
 # default values for e-message indentation and dots
index 6d6360b..064b15c 100644 (file)
@@ -212,7 +212,7 @@ if version >= 700
   "  highlight SpellRare   term=reverse   ctermbg=13 gui=undercurl guisp=Magenta   " rare word
   "  highlight SpellLocale term=underline ctermbg=11 gui=undercurl guisp=DarkCyan  " word only exists in other region
 
-  " set maximum number of suggestions listed to top 10 items:
+  " set maximum number of suggestions listed top 10 items:
   set sps=best,10
 
   " highlight matching parens:
index 7d4788c..6d748ea 100644 (file)
@@ -51,7 +51,7 @@ _insert_kept() {
     fi
 }
 
-# now bind it to keys and enable completition
+# now bind it to keys and enable completion
 zle -C insert-kept-result complete-word _generic
 zle -C expand-kept-result complete-word _generic
 zstyle ':completion:*-kept-result:*' completer _insert_kept
index ca90043..c688f28 100644 (file)
@@ -1186,7 +1186,7 @@ function help_zle_parse_keybindings () {
         [[ $load_cache -eq 0 ]] && . $HELP_ZLE_CACHE_FILE && return
     fi
 
-    #fill with default keybindings, possibly to be overwriten in a file later
+    #fill with default keybindings, possibly to be overwritten in a file later
     #Note that due to zsh inconsistency on escaping assoc array keys, we encase the key in '' which we will remove later
     local -A help_zle_keybindings
     help_zle_keybindings['<Ctrl>@']="set MARK"
@@ -1239,7 +1239,7 @@ function help_zle_parse_keybindings () {
             #             ignores lines that are commentend out
             #             grabs first in '' or "" enclosed string with length between 1 and 6 characters
             elif [[ "$cline" == [^#]#(bind2maps[[:space:]](*)-s|bindkey|compdef -k)[[:space:]](*)(#b)(\"((?)(#c1,6))\"|\'((?)(#c1,6))\')(#B)(*)  ]]; then
-                #description prevously found ? description not more than 2 lines away ? keybinding not empty ?
+                #description previously found ? description not more than 2 lines away ? keybinding not empty ?
                 if [[ -n $lastkeybind_desc && $num_lines_elapsed -lt 2 && -n $match[1] ]]; then
                     #substitute keybinding string with something readable
                     k=${${${${${${${match[1]/\\e\^h/<Alt><BS>}/\\e\^\?/<Alt><BS>}/\\e\[5~/<PageUp>}/\\e\[6~/<PageDown>}//(\\e|\^\[)/<Alt>}//\^/<Ctrl>}/3~/<Alt><Del>}
@@ -2063,7 +2063,7 @@ function grml_prompt_setup () {
     autoload -Uz vcs_info
     # The following autoload is disabled for now, since this setup includes a
     # static version of the ‘add-zsh-hook’ function above. It needs to be
-    # reenabled as soon as that static definition is removed again.
+    # re-enabled as soon as that static definition is removed again.
     #autoload -Uz add-zsh-hook
     add-zsh-hook precmd prompt_$1_precmd
 }
@@ -2518,7 +2518,7 @@ function grml_control_xterm_title () {
 
 # The following autoload is disabled for now, since this setup includes a
 # static version of the ‘add-zsh-hook’ function above. It needs to be
-# reenabled as soon as that static definition is removed again.
+# re-enabled as soon as that static definition is removed again.
 #zrcautoload add-zsh-hook || add-zsh-hook () { :; }
 if [[ $NOPRECMD -eq 0 ]]; then
     add-zsh-hook precmd grml_reset_screen_title
@@ -2844,7 +2844,7 @@ compdef _functions freload
 #      Module zstat is loaded by default in grml zshrc, no extra action needed for that.
 #
 #      Known bugs:
-#      If you happen to come accross a symlink that points to a destination on an other partition
+#      If you happen to come across a symlink that points to a destination on another partition
 #      with the same inode number, that will be marked as symlink loop though it is not.
 #      Two hints for this situation:
 #      I)  Play lottery the same day, as you seem to be rather lucky right now.
@@ -3327,7 +3327,7 @@ return 0;;
     return $result
 }
 
-#f5# cd to directoy and list files
+#f5# cd to directory and list files
 function cl () {
     emulate -L zsh
     cd $1 && ls -a
@@ -3344,7 +3344,7 @@ function cd () {
     fi
 }
 
-#f5# Create Directoy and \kbd{cd} to it
+#f5# Create Directory and \kbd{cd} to it
 function mkcd () {
     if (( ARGC != 1 )); then
         printf 'usage: mkcd <new-directory>\n'
index f2d1e7d..74f8c97 100644 (file)
@@ -63,7 +63,7 @@ function LOOKUP_help_${backend}() {
     printf '    gname.group.name:description\n'
     printf ' The '\'':description'\'' part is optional.\n'
     printf ' That way you can search for group names (using -L, -l and -s) and put\n'
-    printf ' your prefered groups into that file. That way you get rid of a lot of\n'
+    printf ' your preferred groups into that file. That way you get rid of a lot of\n'
     printf ' typing by using completion: %% lu gmane -g <tab>\n'
     printf '\nExamples:\n'
     printf ' %% zstyle '\'':lookup:*:%s:*'\'' list-default    true\n' ${backend}