mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
18472: spelling corrections
This commit is contained in:
parent
83932ba23f
commit
a5f7097d9a
30 changed files with 85 additions and 72 deletions
|
|
@ -29,7 +29,7 @@ _arguments -s -S \
|
|||
"-d+[specify font directory]:font directory:_path_files -/" \
|
||||
'-f+[specify font]:font:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flf\*\(\:r\)' \
|
||||
'(-k -S -s -o -W)-m+[specify layout mode]:layout mode' \
|
||||
'(-N)-C+[specifiy control file]:control file:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flc\*\(\:r\)' \
|
||||
'(-N)-C+[specify control file]:control file:_files -W ${~opt_args[-d]\:-$fontdir} -g \*flc\*\(\:r\)' \
|
||||
"(-v)-I+[display info]:info code:((
|
||||
-1\:normal\ operation\ \(default\)
|
||||
0\:version,\ copyright\ and\ usage\ information
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ arguments=( $arguments[@]
|
|||
'*--include=[examine files matching specified pattern]:file pattern'
|
||||
'*--exclude=[skip files matching specified pattern]:file pattern'
|
||||
'*--exclude-from=[skip files matching pattern in specified file]:file:_files'
|
||||
'(--no-mesages -s)'{--no-messages,-s}'[suppress messages about unreadable]'
|
||||
'(--no-messages -s)'{--no-messages,-s}'[suppress messages about unreadable]'
|
||||
'(--version -V)'{--version,-V}'[display version info]'
|
||||
'(--invert-match -v)'{--invert-match,-v}'[select non-matching lines]'
|
||||
'(--word-regexp -w --line-regexp -x)'{--word-regexp,-w}'[force pattern to match only whole words]'
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ _larch_command () {
|
|||
"show-config:show the revision frontier of a configuration" \
|
||||
"config-history:report the history of a configuration" \
|
||||
"update:merge local changes with the latest revision" \
|
||||
"replay:merge the latest revsion with local changes" \
|
||||
"replay:merge the latest revision with local changes" \
|
||||
"delta-patch:compute and apply an arbitrary patch" \
|
||||
"star-merge:merge of mutually merged branches" \
|
||||
"make-sync-tree:prepare a tree that will synchronize branches" \
|
||||
|
|
@ -1603,7 +1603,7 @@ _larch_library-add () {
|
|||
'--report[default output]' \
|
||||
'--verbose[maximal output]' \
|
||||
'--debug[debugging output]' \
|
||||
'--ignore-extra-args[ignore extra argyments]' \
|
||||
'--ignore-extra-args[ignore extra arguments]' \
|
||||
"--skip-readmes[don't update readme files]" \
|
||||
'*: :_files' \
|
||||
&& return 0
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ arguments=(
|
|||
'(--almost-all -A -a --all)'{--almost-all,-A}'[list all except . and ..]'
|
||||
'(--ignore-backups -B)'{--ignore-backups,-B}"[don't list entries ending with ~]"
|
||||
'(--directory -d)'{--directory,-d}'[list directory entries instead of contents]'
|
||||
'(--ignore,-I)'{--ignore,-I}"[don't list entires matching pattern]:pattern:"
|
||||
'(--ignore,-I)'{--ignore,-I}"[don't list entire matching pattern]:pattern:"
|
||||
'(--dereference -L)'{--dereference,-L}'[list referenced file for sym link]'
|
||||
'(--recursive -R)'{--recursive,-R}'[list subdirectories recursively]'
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# subcommand e.g.
|
||||
# zstyle ':completion:*:p4-labelsync:*' verbose false
|
||||
# or for a particular tag, e.g. changes,
|
||||
# zstyle ':completeion:*:changes' verbose false
|
||||
# zstyle ':completion:*:changes' verbose false
|
||||
# or just for top-level completion (i.e. up to and including completion
|
||||
# of the subcommand):
|
||||
# zstyle ':completion:*:p4:*' verbose false
|
||||
|
|
@ -233,7 +233,7 @@ _perforce() {
|
|||
fi
|
||||
|
||||
if [[ $p4cmd = '=p4' ]]; then
|
||||
_message "p4 excutable not found: completion not available"
|
||||
_message "p4 executable not found: completion not available"
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
@ -497,7 +497,7 @@ _perforce_files_or_minus() {
|
|||
}
|
||||
|
||||
|
||||
(( $+functions[_perforce_file_suffx] )) ||
|
||||
(( $+functions[_perforce_file_suffix] )) ||
|
||||
_perforce_file_suffix() {
|
||||
# Used with compadd -R to handle @ or # after a file name.
|
||||
# Differs from compadd -r '...' in that it quotes `#' if typed.
|
||||
|
|
@ -734,7 +734,7 @@ _perforce_files() {
|
|||
labels:label:_perforce_labels \
|
||||
'dates:date (+ time):_perforce_dates'
|
||||
elif [[ -prefix *\# ]]; then
|
||||
# Modify context to indicate we are in a suffx.
|
||||
# Modify context to indicate we are in a suffix.
|
||||
curcontext="${curcontext%:*}:hash-suffix"
|
||||
# Check for existing range syntax
|
||||
[[ $PREFIX = *[@\#]*,* ]] && range=
|
||||
|
|
@ -919,7 +919,7 @@ _perforce_jobviews() {
|
|||
# Ignore up to the last one. We don't try to complete these.
|
||||
compset -P '*[[:blank:]\^\&\|\(\)]'
|
||||
|
||||
# According to the manual, `p4 jobspec' requires admin priveleges.
|
||||
# According to the manual, `p4 jobspec' requires admin privileges.
|
||||
# If this is true even of `p4 jobspec -o', we are a bit screwed.
|
||||
_call_program jobspec p4 jobspec -o 2>/dev/null | while read line; do
|
||||
case $line in
|
||||
|
|
@ -1114,7 +1114,7 @@ _perforce_cmd_branch() {
|
|||
'(-o)-f[force operation by superuser]' \
|
||||
'(-o -i)-d[delete branch]' \
|
||||
'(-d -i -f)-o[write specification to standard output]' \
|
||||
'(-d -o)-i[read specificationf from standard input]' \
|
||||
'(-d -o)-i[read specification from standard input]' \
|
||||
'(-i)*::branch name:_perforce_branches'
|
||||
}
|
||||
|
||||
|
|
@ -1464,7 +1464,7 @@ _perforce_cmd_labelsync() {
|
|||
'-a[add files to label]' \
|
||||
'-d[delete files from label]' \
|
||||
'-n[no effect, dummy run]' \
|
||||
'-l[specify lable]:label:_perforce_labels' \
|
||||
'-l[specify label]:label:_perforce_labels' \
|
||||
'*::file:_perforce_files -tR'
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,13 +33,13 @@ subcmds=(
|
|||
'edit:retrieve file for editing (check out)'
|
||||
"enter:like create, but omits the final 'sccs get'"
|
||||
'fix:revise a (leaf) delta'
|
||||
'get:retieve a version from the sccs history'
|
||||
'get:retrieve a version from the sccs history'
|
||||
'help:get information on sccs commands and error messages'
|
||||
{info,tell}':list files being edited'
|
||||
'print:print history of specified files'
|
||||
'prs:display delta table for an sccs file'
|
||||
'prt:display the delta table, but omit the MR field'
|
||||
'rmdel:remove specfied delta from history file'
|
||||
'rmdel:remove specified delta from history file'
|
||||
'sact:show editing activity status of an sccs file'
|
||||
'sccsdiff:compare two versions from sccs history'
|
||||
{unedit,unget}':undo check out'
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ case $service in
|
|||
'--infodir=[specify directory containing dir file]:info directory:_files -/' \
|
||||
'--align=[specify minimum indentation for description]:indentation' \
|
||||
'--calign=[specify minimum indentation for continuation lines of description]:indentation' \
|
||||
'--maxwidth=[specify maximim width of dir file]:width' \
|
||||
'--maxwidth=[specify maximum width of dir file]:width' \
|
||||
'--quiet[suppress informational output]' \
|
||||
'--description=[specify description for menu entry]:description' \
|
||||
'--menuentry=[specify the menu entry for dir file]:menu entry' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue