mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 20:31:15 +01:00
Solving some random typos: #5736 (patrickelectric/typos)
This commit is contained in:
commit
9dab3c6718
16 changed files with 19 additions and 19 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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//"["/"\\["}"
|
||||
|
|
|
@ -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=()
|
||||
|
|
|
@ -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]"
|
||||
|
|
|
@ -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
|
||||
|
@ -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
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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`
|
||||
|
|
|
@ -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}"
|
||||
|
|
|
@ -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")
|
||||
|
@ -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%}
|
||||
|
|
Loading…
Reference in a new issue