summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Base/Core/_wanted4
-rw-r--r--Completion/Linux/Command/_uml2
-rw-r--r--Completion/Mandrake/Command/_urpmi2
-rw-r--r--Completion/Unix/Command/_figlet2
-rw-r--r--Completion/Unix/Command/_grep2
-rw-r--r--Completion/Unix/Command/_larch4
-rw-r--r--Completion/Unix/Command/_ls2
-rw-r--r--Completion/Unix/Command/_perforce14
-rw-r--r--Completion/Unix/Command/_sccs4
-rw-r--r--Completion/Unix/Command/_texinfo2
-rw-r--r--Completion/Unix/Type/_java_class2
-rw-r--r--Completion/Zsh/Command/_zmv2
12 files changed, 20 insertions, 22 deletions
diff --git a/Completion/Base/Core/_wanted b/Completion/Base/Core/_wanted
index f96b266bd..5bba7fd63 100644
--- a/Completion/Base/Core/_wanted
+++ b/Completion/Base/Core/_wanted
@@ -1,9 +1,7 @@
 #autoload
 
-local __targs __gopt
+local -a __targs __gopt
 
-__gopt=()
-__tagrs=()
 zparseopts -D -a __gopt 1 2 V J x C:=__targs
 
 _tags "$__targs[@]" "$1"
diff --git a/Completion/Linux/Command/_uml b/Completion/Linux/Command/_uml
index 453cb625e..0e078e0a3 100644
--- a/Completion/Linux/Command/_uml
+++ b/Completion/Linux/Command/_uml
@@ -113,7 +113,7 @@ while [[ -n $state ]]; do
 	'ncpus[specify number of virtual processors to start]:processors' \
 	'mode[force UML to run in specified mode]:mode:(tt)' \
 	'mconsole[request mconsole driver to send a message to socket]:socket' \
-	'xterm[specify alternate terminal emulator]:terminam emulator:->xterm' \
+	'xterm[specify alternate terminal emulator]:terminal emulator:->xterm' \
 	'dsp[specify host dsp device]:dsp device:_files' \
 	'mixer[specify host mixer device]:mixer device:_files' \
 	'umn[specify ip address for host side of slip device]' && ret=0
diff --git a/Completion/Mandrake/Command/_urpmi b/Completion/Mandrake/Command/_urpmi
index d03dd311f..7f9387f91 100644
--- a/Completion/Mandrake/Command/_urpmi
+++ b/Completion/Mandrake/Command/_urpmi
@@ -153,7 +153,7 @@ _urpmi() {
 	"(--help -h --src -s)"{--src,-s}"[next package is source package]" \
 	"(--help -h)--update[use only update media]" \
 	"(--help -h -c -p -P)-c[choose complete method for resolving requires closure]" \
-	"(--help -h)-d[show package depndencies]" \
+	"(--help -h)-d[show package dependencies]" \
 	"(--help -h)-f[print version, release and arch with name]" \
 	"(--help -h)-g[print groups too with name]" \
 	"(--help -h -c -p -P)-p[allow search in provides to find package]" \
diff --git a/Completion/Unix/Command/_figlet b/Completion/Unix/Command/_figlet
index 607c774d5..0a5ba0a2f 100644
--- a/Completion/Unix/Command/_figlet
+++ b/Completion/Unix/Command/_figlet
@@ -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
diff --git a/Completion/Unix/Command/_grep b/Completion/Unix/Command/_grep
index 7df73f7d7..b1dd8aa45 100644
--- a/Completion/Unix/Command/_grep
+++ b/Completion/Unix/Command/_grep
@@ -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]'
diff --git a/Completion/Unix/Command/_larch b/Completion/Unix/Command/_larch
index 18af3823a..7bd07c8b1 100644
--- a/Completion/Unix/Command/_larch
+++ b/Completion/Unix/Command/_larch
@@ -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
diff --git a/Completion/Unix/Command/_ls b/Completion/Unix/Command/_ls
index 33c3ca652..e1a9222b3 100644
--- a/Completion/Unix/Command/_ls
+++ b/Completion/Unix/Command/_ls
@@ -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]'
  
diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce
index 34db61478..3c7ee914c 100644
--- a/Completion/Unix/Command/_perforce
+++ b/Completion/Unix/Command/_perforce
@@ -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'
 }
 
diff --git a/Completion/Unix/Command/_sccs b/Completion/Unix/Command/_sccs
index 2591ceb16..b3b6f49e9 100644
--- a/Completion/Unix/Command/_sccs
+++ b/Completion/Unix/Command/_sccs
@@ -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'
diff --git a/Completion/Unix/Command/_texinfo b/Completion/Unix/Command/_texinfo
index 5c118f3f0..240111990 100644
--- a/Completion/Unix/Command/_texinfo
+++ b/Completion/Unix/Command/_texinfo
@@ -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' \
diff --git a/Completion/Unix/Type/_java_class b/Completion/Unix/Type/_java_class
index 76aeaaa2e..1abca1291 100644
--- a/Completion/Unix/Type/_java_class
+++ b/Completion/Unix/Type/_java_class
@@ -1,7 +1,7 @@
 #autoload
 
 # Should probably add some sort of cache.
-# Should we call _multi_parts insteads of compadd?
+# Should we call _multi_parts instead of compadd?
 
 local classpath i expl
 local -a c
diff --git a/Completion/Zsh/Command/_zmv b/Completion/Zsh/Command/_zmv
index bc639f3ec..df5cb5113 100644
--- a/Completion/Zsh/Command/_zmv
+++ b/Completion/Zsh/Command/_zmv
@@ -15,4 +15,4 @@ _arguments -s -S -A '-*' \
   '(-W)-w[implicitly add parenthesis to wildcards in the pattern]' \
   '(-w)-W[like -w, but turn wildcards in replacement patterns into references]' \
   '1:source pattern:_files' \
-  '2:desination pattern:_files'
+  '2:destination pattern:_files'