9dab3c6718d627bc3ea5beb79bfbf0a7f74a7648

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

Solving some random typos: #5736 (patrickelectric/typos)

Diff

This diff is truncated to protect this page.

  1diff --git a/lib/completion.zsh b/lib/completion.zsh
  2index bbd02165659dec1032d8f6ef98f0c276e6ab9677..a1e934315f66c290c04f203f890bd1b97e6cd728 100644
  3--- a/lib/completion.zsh
  4+++ b/lib/completion.zsh
  5@@ -5,7 +5,7 @@ WORDCHARS=''
  6 
  7 unsetopt menu_complete   # do not autoselect the first completion entry
  8 unsetopt flowcontrol
  9-setopt auto_menu         # show completion menu on succesive tab press
 10+setopt auto_menu         # show completion menu on successive tab press
 11 setopt complete_in_word
 12 setopt always_to_end
 13 
 14diff --git a/lib/functions.zsh b/lib/functions.zsh
 15index 9f11318d2c06ca78ca2d72cd54291102e4cf364c..f306537846c9662462c127dc61018dfb58bbaa5f 100644
 16--- a/lib/functions.zsh
 17+++ b/lib/functions.zsh
 18@@ -86,7 +86,7 @@ function default() {
 19 }
 20 
 21 #
 22-# Set enviroment variable "$1" to default value "$2" if "$1" is not yet defined.
 23+# Set environment variable "$1" to default value "$2" if "$1" is not yet defined.
 24 #
 25 # Arguments:
 26 #    1. name - The env variable to set
 27diff --git a/plugins/droplr/README.md b/plugins/droplr/README.md
 28index cfbec25edaa372e4342fc3c30e22923ff0297930..25cf61db7aff6e36534233d033cc752f4a142c80 100644
 29--- a/plugins/droplr/README.md
 30+++ b/plugins/droplr/README.md
 31@@ -1,6 +1,6 @@
 32 # droplr
 33 
 34-Use [Droplr](https://droplr.com/) from the comand line to upload files and shorten
 35+Use [Droplr](https://droplr.com/) from the command line to upload files and shorten
 36 links. It needs to have [Droplr.app](https://droplr.com/apps) installed and logged
 37 in. MacOS only.
 38 
 39diff --git a/plugins/gnu-utils/gnu-utils.plugin.zsh b/plugins/gnu-utils/gnu-utils.plugin.zsh
 40index de95f7e6c0824a736fccdcb8fa4f23a576db6823..b66e25d7fc571bdee0e3e98f1e71900d7ce868fa 100644
 41--- a/plugins/gnu-utils/gnu-utils.plugin.zsh
 42+++ b/plugins/gnu-utils/gnu-utils.plugin.zsh
 43@@ -52,7 +52,7 @@ if [[ -x "${commands[gwhoami]}" ]]; then
 44 
 45       #
 46       # This method is inflexible since the aliases are at risk of being
 47-      # overriden resulting in the BSD coreutils being called.
 48+      # overridden resulting in the BSD coreutils being called.
 49       #
 50       # (( ${+commands[$gcmd]} )) && \
 51       # alias "$gcmd[2,-1]"="${prefix}/${gcmd//"["/"\\["}"
 52diff --git a/plugins/history-substring-search/history-substring-search.zsh b/plugins/history-substring-search/history-substring-search.zsh
 53index ad316acc84b3a015d75d94500321a2d3d353e2ec..3b8afd31767fe93c17d60bf83284839e3e10b412 100644
 54--- a/plugins/history-substring-search/history-substring-search.zsh
 55+++ b/plugins/history-substring-search/history-substring-search.zsh
 56@@ -244,7 +244,7 @@ _history-substring-search-end() {
 57 
 58   _history_substring_search_result=$BUFFER
 59 
 60-  # the search was succesful so display the result properly by clearing away
 61+  # the search was successful so display the result properly by clearing away
 62   # existing highlights and moving the cursor to the end of the result buffer
 63   if [[ $_history_substring_search_refresh_display -eq 1 ]]; then
 64     region_highlight=()
 65diff --git a/plugins/scala/_scala b/plugins/scala/_scala
 66index c4ccb37d35fec9fa60887d470187b018995e6091..80434680c0bcd0b948841cc541234af17a27054d 100644
 67--- a/plugins/scala/_scala
 68+++ b/plugins/scala/_scala
 69@@ -152,10 +152,10 @@ Y_opts=(
 70   "-Ydump-classes+[Dump the generated bytecode to .class files (useful for reflective compilation that utilizes in-memory classloaders)]:output directory:_files -/"
 71   "-Yeta-expand-keeps-star[Eta-expand varargs methods to T* rather than Seq[T].  This is a temporary option to ease transition.]"
 72   "-Ygen-javap+[Generate a parallel output directory of .javap files]:output directory:_files -/"
 73-  "-Yinfer-argument-types[Infer types for arguments of overriden methods]"
 74+  "-Yinfer-argument-types[Infer types for arguments of overridden methods]"
 75   "-Yinline[Perform inlining when possible]"
 76   "-Yinline-handlers[Perform exception handler inlining when possible]"
 77-  "-Yinline-warnings[Emit inlining warnings (normally surpressed due to high volume)]"
 78+  "-Yinline-warnings[Emit inlining warnings (normally suppressed due to high volume)]"
 79   "-Yinvalidate+[Invalidate classpath entry before run]:classpath entry"
 80   "-Ylinearizer\:-[Linearizer to use (default\: rpo)]:linearizer:(normal dfs rpo dump)"
 81   "-Ylog-classpath[Output information about what classpath is being applied]"
 82diff --git a/plugins/suse/suse.plugin.zsh b/plugins/suse/suse.plugin.zsh
 83index afd8ecabda5ecaccd66f8a126494f2733ca720c2..f7215528b400817bb4a2896852ae5eadad3ceaf5 100644
 84--- a/plugins/suse/suse.plugin.zsh
 85+++ b/plugins/suse/suse.plugin.zsh
 86@@ -1,4 +1,4 @@
 87-#Alias for Zypper according to the offical Zypper's alias
 88+#Alias for Zypper according to the official Zypper's alias
 89 
 90 #Main commands
 91 alias z='sudo zypper' #call zypper
 92@@ -51,7 +51,7 @@ alias zrr='sudo zypper rr' #remove repositories
 93 alias zas='sudo zypper as' #adds a service specified by URI to the system
 94 alias zms='sudo zypper ms' #modify properties of specified services
 95 alias zrefs='sudo zypper refs' #refreshing a service mean executing the service's special task
 96-alias zrs='sudo zypper rs' #remove specified repository index service from the sytem
 97+alias zrs='sudo zypper rs' #remove specified repository index service from the system
 98 alias zls='sudo zypper ls' #list services defined on the system
 99 
100 #Package Locks Management commands
101diff --git a/plugins/terraform/_terraform b/plugins/terraform/_terraform
102index 11740dc4819cbda50cfb63dfda7ca14e16831f1d..97c42a559a79dee0fd69f6ce06c2efa1d45b22f9 100644
103--- a/plugins/terraform/_terraform
104+++ b/plugins/terraform/_terraform
105@@ -98,7 +98,7 @@ __push() {
106         '-token=[(token) Atlas API token to use to authorize the upload. If blank or unspecified, the ATLAS_TOKEN environmental variable will be used.]' \
107         '-var=[("foo=bar") Set the value of a variable for the Terraform configuration.]' \
108         '-var-file=[(foo) Set the value of variables using a variable file.]' \
109diff --git a/plugins/ubuntu/readme.md b/plugins/ubuntu/readme.md
110index c9ef61f4e4a76d6969cb33e2f516afb10b674c38..5ad4bbcd289ebdff6ce893cf6cfc8d7a5c4fbdee 100644
111--- a/plugins/ubuntu/readme.md
112+++ b/plugins/ubuntu/readme.md
113@@ -10,7 +10,7 @@ By now you already can guess almost all aliases
114 
115 There are two exeptions since ...  
116 agu  = sudo Apt-Get Update  - we have ...  
117-agug = sudo Apt-Get UpGrade - as the exeptional 4 letter alias for a single command.
118+agug = sudo Apt-Get UpGrade - as the exceptional 4 letter alias for a single command.
119 
120 afs = Apt-File Search --regexp - this has the regexp switch on without being represented in the alias, I guess this makes sense since the debian plugin has it, I never used that command.
121 
122diff --git a/plugins/ubuntu/ubuntu.plugin.zsh b/plugins/ubuntu/ubuntu.plugin.zsh
123index 030af069389cf233ccd51892d4cd6d62483477c6..60ff0457f9f8ff2ee10a922e37377105d8826f89 100644
124--- a/plugins/ubuntu/ubuntu.plugin.zsh
125+++ b/plugins/ubuntu/ubuntu.plugin.zsh
126@@ -69,7 +69,7 @@ alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
127 # apt-add-repository with automatic install/upgrade of the desired package
128 # Usage: aar ppa:xxxxxx/xxxxxx [packagename]
129 # If packagename is not given as 2nd argument the function will ask for it and guess the default by taking
130-# the part after the / from the ppa name wich is sometimes the right name for the package you want to install
131+# the part after the / from the ppa name which is sometimes the right name for the package you want to install
132 aar() {
133 	if [ -n "$2" ]; then
134 		PACKAGE=$2
135diff --git a/plugins/z/README b/plugins/z/README
136index 7de82a4c7a506f4a2764e6cf048aba7f7673eeeb..56261cff4f613d49f0e3407c34e8e222b3f682d0 100644
137--- a/plugins/z/README
138+++ b/plugins/z/README
139@@ -125,7 +125,7 @@ ENVIRONMENT
140        Directories must be full paths without trailing slashes.
141 
142        The  environment  variable  $_Z_OWNER  can  be set to your username, to
143-       allow usage of z when your sudo enviroment keeps $HOME set.
144+       allow usage of z when your sudo environment keeps $HOME set.
145 
146 FILES
147        Data is stored in $HOME/.z. This  can  be  overridden  by  setting  the
148diff --git a/plugins/z/z.1 b/plugins/z/z.1
149index cc99910bf6cf1e946b2987303b6a695377b352b7..bbc1bf5df046a4cd761b4d6d9209f4b06926c45d 100644
150--- a/plugins/z/z.1
151+++ b/plugins/z/z.1
152@@ -151,7 +151,7 @@ directory trees to exclude from tracking. \fB$HOME\fR is always excluded.
153 Directories must be full paths without trailing slashes.
154 .P
155 The environment variable \fB$_Z_OWNER\fR can be set to your username, to
156-allow usage of \fBz\fR when your sudo enviroment keeps \fB$HOME\fR set.
157+allow usage of \fBz\fR when your sudo environment keeps \fB$HOME\fR set.
158 .SH
159 FILES
160 Data is stored in \fB$HOME/.z\fR. This can be overridden by setting the
161diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme
162index a3c50570626f8011d4677925ace04929788d4041..5f987099d4cede1078e3640492ca0062c922a982 100644
163--- a/themes/half-life.zsh-theme
164+++ b/themes/half-life.zsh-theme
165@@ -17,7 +17,7 @@ setopt prompt_subst
166 autoload -U add-zsh-hook
167 autoload -Uz vcs_info
168 
169-#use extended color pallete if available
170+#use extended color palette if available
171 if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then
172     turquoise="%F{81}"
173     orange="%F{166}"
174diff --git a/themes/pure.zsh-theme b/themes/pure.zsh-theme
175index 1473194a51e465829fd643cdd7dacee327b638dd..0e5681cc7f887bb0e80f5dd708c6ab85e31c5de1 100644
176--- a/themes/pure.zsh-theme
177+++ b/themes/pure.zsh-theme
178@@ -61,7 +61,7 @@ cmd_exec_time() {
179     [ $elapsed -gt 5 ] && echo ${elapsed}s
180 }
181 
182-# Get the intial timestamp for cmd_exec_time
183+# Get the initial timestamp for cmd_exec_time
184 #
185 preexec() {
186     cmd_timestamp=`date +%s`
187diff --git a/themes/steeef.zsh-theme b/themes/steeef.zsh-theme
188index 13dc3ad2f263c8c51016a8e8de5caf9976ccebf9..b72a41c92262b9d04cc3302b4e6e73852c6c6802 100644
189--- a/themes/steeef.zsh-theme
190+++ b/themes/steeef.zsh-theme
191@@ -19,7 +19,7 @@ setopt prompt_subst
192 autoload -U add-zsh-hook
193 autoload -Uz vcs_info
194 
195-#use extended color pallete if available
196+#use extended color palette if available
197 if [[ $terminfo[colors] -ge 256 ]]; then
198     turquoise="%F{81}"
199     orange="%F{166}"
200diff --git a/themes/trapd00r.zsh-theme b/themes/trapd00r.zsh-theme
201index ca1676fb5c85df410d2228fdebe4d680091f7b0e..3fa5d57ab99b1c4bb39945c9e2cee2c956ebe8ba 100644
202--- a/themes/trapd00r.zsh-theme
203+++ b/themes/trapd00r.zsh-theme
204@@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m")
205 local c13=$(printf "\e[38;5;196m\e[1m")
206 
207 
208-# We dont want to use the extended colorset in the TTY / VC.
209+# We don't want to use the extended colorset in the TTY / VC.
210 if [ "$TERM" = "linux" ]; then
211     c1=$( printf "\e[34;1m")
212     c2=$( printf "\e[35m")
213@@ -71,7 +71,7 @@ prompt_jnrowe_precmd () {
214     PROMPT='%{$fg_bold[green]%}%p%{$reset_color%}${vcs_info_msg_0_}${dir_status} ${ret_status}%{$reset_color%}
215 > '
216 
217-# modified, to be commited
218+# modified, to be committed
219   elif [[ $(git diff --cached --name-status 2>/dev/null ) != "" ]]; then
220     dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$(zsh_path)%} %{$c0%}(%{$c5%}%?%{$c0%})"
221     PROMPT='${vcs_info_msg_0_}%{$30%} %{$bg_bold[red]%}%{$fg_bold[cyan]%}C%{$fg_bold[black]%}OMMIT%{$reset_color%}