Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _xv to complete *.(jpg|png)



I think _xv should complete files named *.(jpg|png).
Although xv-3.10a does not support PNG, there is the patch.

Index: Completion/X/_xv
===================================================================
RCS file: /projects/zsh/zsh/Completion/X/_xv,v
retrieving revision 1.1.1.3
diff -u -F^( -r1.1.1.3 _xv
--- _xv	1999/08/31 10:17:15	1.1.1.3
+++ _xv	1999/09/02 05:16:50
@@ -42,4 +42,4 @@
   '-gsres:ghostscript resolution:' \
   '-gsgeom:ghostscript page size:' \
   '-DEBUG:debug level:' \
-  '*:picture file:_files -g \*.\(\#i\)\(gif\|jpeg\|tiff\|pbm\|pgm\|ppm\|xbm\|xpm\|ras\(\|t\)\|tga\|rle\|rgb\|bmp\|pcx\|fits\|pm\)'
+  '*:picture file:_files -g \*.\(\#i\)\(png\|gif\|jpeg\|jpg\|tiff\|pbm\|pgm\|ppm\|xbm\|xpm\|ras\(\|t\)\|tga\|rle\|rgb\|bmp\|pcx\|fits\|pm\)'
-- 
Tanaka Akira



Messages sorted by: Reverse Date, Date, Thread, Author