about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/.distfiles10
-rw-r--r--Completion/User/_gv14
-rw-r--r--Completion/User/_tar2
3 files changed, 20 insertions, 6 deletions
diff --git a/Completion/User/.distfiles b/Completion/User/.distfiles
index 713be74dc..f2b0f520f 100644
--- a/Completion/User/.distfiles
+++ b/Completion/User/.distfiles
@@ -1,8 +1,8 @@
 DISTFILES_SRC='
     .distfiles
-    _a2ps _bzip2 _bunzip2 _chown _compress _configure
-    _cvs _dd _dvi _find _gdb _groups _gunzip _gzip
-    _hosts _use_lo _make _man _mh _pdf _ps
-    _rcs _rlogin _sh _strip _stty _su
-    _tar _tar_archive _tex _uncompress _x_options _xfig 
+    _a2ps _bunzip2 _bzip2 _chown _colors _compress _configure _cursors _cvs
+    _dd _dir_list _dvi _exec_funcs _find _gdb _gprof _groups _gs _gs_name
+    _gunzip _gv _gzip _hosts _make _man _mh _patch _pbm _pdf _ps _pspdf
+    _rcs _rlogin _sh _strip _stty _su _tar _tar_archive _tex _uncompress
+    _use_lo _users _xargs
 '
diff --git a/Completion/User/_gv b/Completion/User/_gv
new file mode 100644
index 000000000..887224a0f
--- /dev/null
+++ b/Completion/User/_gv
@@ -0,0 +1,14 @@
+#compdef gv gview
+
+_xt_arguments \
+  -{,no}{safer,quiet,center,swap,antialias,dsc,eof,pixmap,watch,resize} \
+  -{monochrome,grayscale,color,portrait,landscape,upsidedown,seascape,h,help,v,spartan} \
+
+  '-arguments:ghostscript arguments:' \
+  '-page:label of first page:' \
+  '-media:page size:(Letter Legal Statement Tabloid Ledger Folio Quarto 10x14 Executive A3 A4 A5 B4 B5)' \
+  '-scale:scale entry:' \
+  '-scalebase:scale base:' \
+  '-ad:resource file:_files' \
+  '-style:resource file:_files'
+  '*:file:_pspdf'
diff --git a/Completion/User/_tar b/Completion/User/_tar
index 85cf21566..6433d3f8d 100644
--- a/Completion/User/_tar
+++ b/Completion/User/_tar
@@ -72,7 +72,7 @@ if [[ "$PREFIX" = --* ]]; then
 
   # ...long options after `--'.
 
-  _arguements -- '--owner*:user:_users' \
+  _arguments -- '--owner*:user:_users' \
                  '*=(PROG|COMMAND)*:program:_command_names -e' \
 		 '*=ARCHIVE*:archive: _tar_archive' \
 		 '*=NAME*:file:_files' \