[Bash-completion-commits] [SCM] bash-completion branch, master, updated. d2a551fad4e75452b3ba2fcd6f4cce3117af3fd1

Ville Skyttä ville.skytta at iki.fi
Sat Sep 18 18:24:48 UTC 2010


The following commit has been merged in the master branch:
commit d2a551fad4e75452b3ba2fcd6f4cce3117af3fd1
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Sep 18 20:51:51 2010 +0300

    Combine identical xdvi and kdvi completions.

diff --git a/bash_completion b/bash_completion
index d423753..22c3314 100644
--- a/bash_completion
+++ b/bash_completion
@@ -82,8 +82,7 @@ complete -f -X '!*.lrz' lrunzip
 complete -f -X '!*.@(gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX)' ee
 complete -f -X '!*.@(gif|jp?(e)g|tif?(f)|png|p[bgp]m|bmp|x[bp]m|rle|rgb|pcx|fits|pm|GIF|JPG|JP?(E)G|TIF?(F)|PNG|P[BGP]M|BMP|X[BP]M|RLE|RGB|PCX|FITS|PM)' xv qiv
 complete -f -X '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview
-complete -f -X '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi
-complete -f -X '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' kdvi
+complete -f -X '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi kdvi
 complete -f -X '!*.@(dvi|DVI)' dvips dviselect dvitype dvipdf advi dvipdfm dvipdfmx
 complete -f -X '!*.@(pdf|PDF)' acroread gpdf xpdf
 complete -f -X '!*.@(?(e)ps|?(E)PS|pdf|PDF)' kpdf

-- 
bash-completion



More information about the Bash-completion-commits mailing list