Skip to content

Commit

Permalink
Solving some random typos: ohmyzsh#5736 (patrickelectric/typos)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcornella authored Dec 30, 2016
2 parents 97c0384 + 0f498e8 commit 9dab3c6
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion lib/completion.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORDCHARS=''

unsetopt menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol
setopt auto_menu # show completion menu on succesive tab press
setopt auto_menu # show completion menu on successive tab press
setopt complete_in_word
setopt always_to_end

Expand Down
2 changes: 1 addition & 1 deletion lib/functions.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function default() {
}

#
# Set enviroment variable "$1" to default value "$2" if "$1" is not yet defined.
# Set environment variable "$1" to default value "$2" if "$1" is not yet defined.
#
# Arguments:
# 1. name - The env variable to set
Expand Down
2 changes: 1 addition & 1 deletion plugins/droplr/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# droplr

Use [Droplr](https://droplr.com/) from the comand line to upload files and shorten
Use [Droplr](https://droplr.com/) from the command line to upload files and shorten
links. It needs to have [Droplr.app](https://droplr.com/apps) installed and logged
in. MacOS only.

Expand Down
2 changes: 1 addition & 1 deletion plugins/gnu-utils/gnu-utils.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [[ -x "${commands[gwhoami]}" ]]; then

#
# This method is inflexible since the aliases are at risk of being
# overriden resulting in the BSD coreutils being called.
# overridden resulting in the BSD coreutils being called.
#
# (( ${+commands[$gcmd]} )) && \
# alias "$gcmd[2,-1]"="${prefix}/${gcmd//"["/"\\["}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ _history-substring-search-end() {

_history_substring_search_result=$BUFFER

# the search was succesful so display the result properly by clearing away
# the search was successful so display the result properly by clearing away
# existing highlights and moving the cursor to the end of the result buffer
if [[ $_history_substring_search_refresh_display -eq 1 ]]; then
region_highlight=()
Expand Down
4 changes: 2 additions & 2 deletions plugins/scala/_scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ Y_opts=(
"-Ydump-classes+[Dump the generated bytecode to .class files (useful for reflective compilation that utilizes in-memory classloaders)]:output directory:_files -/"
"-Yeta-expand-keeps-star[Eta-expand varargs methods to T* rather than Seq[T]. This is a temporary option to ease transition.]"
"-Ygen-javap+[Generate a parallel output directory of .javap files]:output directory:_files -/"
"-Yinfer-argument-types[Infer types for arguments of overriden methods]"
"-Yinfer-argument-types[Infer types for arguments of overridden methods]"
"-Yinline[Perform inlining when possible]"
"-Yinline-handlers[Perform exception handler inlining when possible]"
"-Yinline-warnings[Emit inlining warnings (normally surpressed due to high volume)]"
"-Yinline-warnings[Emit inlining warnings (normally suppressed due to high volume)]"
"-Yinvalidate+[Invalidate classpath entry before run]:classpath entry"
"-Ylinearizer\:-[Linearizer to use (default\: rpo)]:linearizer:(normal dfs rpo dump)"
"-Ylog-classpath[Output information about what classpath is being applied]"
Expand Down
4 changes: 2 additions & 2 deletions plugins/suse/suse.plugin.zsh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Alias for Zypper according to the offical Zypper's alias
#Alias for Zypper according to the official Zypper's alias

#Main commands
alias z='sudo zypper' #call zypper
Expand Down Expand Up @@ -51,7 +51,7 @@ alias zrr='sudo zypper rr' #remove repositories
alias zas='sudo zypper as' #adds a service specified by URI to the system
alias zms='sudo zypper ms' #modify properties of specified services
alias zrefs='sudo zypper refs' #refreshing a service mean executing the service's special task
alias zrs='sudo zypper rs' #remove specified repository index service from the sytem
alias zrs='sudo zypper rs' #remove specified repository index service from the system
alias zls='sudo zypper ls' #list services defined on the system

#Package Locks Management commands
Expand Down
2 changes: 1 addition & 1 deletion plugins/terraform/_terraform
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ __push() {
'-token=[(token) Atlas API token to use to authorize the upload. If blank or unspecified, the ATLAS_TOKEN environmental variable will be used.]' \
'-var=[("foo=bar") Set the value of a variable for the Terraform configuration.]' \
'-var-file=[(foo) Set the value of variables using a variable file.]' \
'-vcs=[(true) If true (default), then Terraform will detect if a VCS is in use, such as Git, and will only upload files that are comitted to version control. If no version control system is detected, Terraform will upload all files in path (parameter to the command).]'
'-vcs=[(true) If true (default), then Terraform will detect if a VCS is in use, such as Git, and will only upload files that are committed to version control. If no version control system is detected, Terraform will upload all files in path (parameter to the command).]'
}

__refresh() {
Expand Down
2 changes: 1 addition & 1 deletion plugins/ubuntu/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ By now you already can guess almost all aliases

There are two exeptions since ...
agu = sudo Apt-Get Update - we have ...
agug = sudo Apt-Get UpGrade - as the exeptional 4 letter alias for a single command.
agug = sudo Apt-Get UpGrade - as the exceptional 4 letter alias for a single command.

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.

Expand Down
2 changes: 1 addition & 1 deletion plugins/ubuntu/ubuntu.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ alias mydeb='time dpkg-buildpackage -rfakeroot -us -uc'
# apt-add-repository with automatic install/upgrade of the desired package
# Usage: aar ppa:xxxxxx/xxxxxx [packagename]
# If packagename is not given as 2nd argument the function will ask for it and guess the default by taking
# the part after the / from the ppa name wich is sometimes the right name for the package you want to install
# the part after the / from the ppa name which is sometimes the right name for the package you want to install
aar() {
if [ -n "$2" ]; then
PACKAGE=$2
Expand Down
2 changes: 1 addition & 1 deletion plugins/z/README
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ENVIRONMENT
Directories must be full paths without trailing slashes.

The environment variable $_Z_OWNER can be set to your username, to
allow usage of z when your sudo enviroment keeps $HOME set.
allow usage of z when your sudo environment keeps $HOME set.

FILES
Data is stored in $HOME/.z. This can be overridden by setting the
Expand Down
2 changes: 1 addition & 1 deletion plugins/z/z.1
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ directory trees to exclude from tracking. \fB$HOME\fR is always excluded.
Directories must be full paths without trailing slashes.
.P
The environment variable \fB$_Z_OWNER\fR can be set to your username, to
allow usage of \fBz\fR when your sudo enviroment keeps \fB$HOME\fR set.
allow usage of \fBz\fR when your sudo environment keeps \fB$HOME\fR set.
.SH
FILES
Data is stored in \fB$HOME/.z\fR. This can be overridden by setting the
Expand Down
2 changes: 1 addition & 1 deletion themes/half-life.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ setopt prompt_subst
autoload -U add-zsh-hook
autoload -Uz vcs_info

#use extended color pallete if available
#use extended color palette if available
if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then
turquoise="%F{81}"
orange="%F{166}"
Expand Down
2 changes: 1 addition & 1 deletion themes/pure.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ cmd_exec_time() {
[ $elapsed -gt 5 ] && echo ${elapsed}s
}

# Get the intial timestamp for cmd_exec_time
# Get the initial timestamp for cmd_exec_time
#
preexec() {
cmd_timestamp=`date +%s`
Expand Down
2 changes: 1 addition & 1 deletion themes/steeef.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ setopt prompt_subst
autoload -U add-zsh-hook
autoload -Uz vcs_info

#use extended color pallete if available
#use extended color palette if available
if [[ $terminfo[colors] -ge 256 ]]; then
turquoise="%F{81}"
orange="%F{166}"
Expand Down
4 changes: 2 additions & 2 deletions themes/trapd00r.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m")
local c13=$(printf "\e[38;5;196m\e[1m")


# We dont want to use the extended colorset in the TTY / VC.
# We don't want to use the extended colorset in the TTY / VC.
if [ "$TERM" = "linux" ]; then
c1=$( printf "\e[34;1m")
c2=$( printf "\e[35m")
Expand Down Expand Up @@ -71,7 +71,7 @@ prompt_jnrowe_precmd () {
PROMPT='%{$fg_bold[green]%}%p%{$reset_color%}${vcs_info_msg_0_}${dir_status} ${ret_status}%{$reset_color%}
> '

# modified, to be commited
# modified, to be committed
elif [[ $(git diff --cached --name-status 2>/dev/null ) != "" ]]; then
dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$(zsh_path)%} %{$c0%}(%{$c5%}%?%{$c0%})"
PROMPT='${vcs_info_msg_0_}%{$30%} %{$bg_bold[red]%}%{$fg_bold[cyan]%}C%{$fg_bold[black]%}OMMIT%{$reset_color%}
Expand Down

0 comments on commit 9dab3c6

Please sign in to comment.