diff --git a/bash_completion b/bash_completion index 4f81b165..1572bda1 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # # @@ -44,19 +44,22 @@ complete -d mkdir rmdir pushd # the following section lists completions that are redefined later # START exclude -- do NOT remove this line -complete -f -X '!*.bz2' bunzip2 +complete -f -X '!*.bz2' bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep bzgrep complete -f -X '!*.+(zip|ZIP|jar|JAR|exe|EXE|pk3)' unzip -complete -f -X '*.Z' compress -complete -f -X '!*.+(Z|gz|tgz|Gz)' gunzip zcat zmore +complete -f -X '*.Z' compress znew +complete -f -X '!*.+(Z|gz|tgz|Gz)' gunzip zcmp zdiff zcat zegrep zfgrep zgrep \ + zless zmore complete -f -X '!*.Z' uncompress complete -f -X '!*.+(gif|jpg|jpeg|tif|tiff|png|GIF|JPG|TIF|TIFF|PNG|bmp)' ee xv complete -f -X '!*.+(?(e)ps|?(E)PS|?(e)ps.gz|pdf|PDF)' gv ggv complete -f -X '!*.+(dvi|DVI)' dvips xdvi dviselect dvitype complete -f -X '!*.+(pdf|PDF)' acroread xpdf complete -f -X '!*.texi*' makeinfo texi2dvi texi2html -complete -f -X '!*.+(tex|TEX)' tex latex slitex jadetex pdfjadetex +complete -f -X '!*.+(tex|TEX)' tex latex slitex jadetex pdfjadetex pdftex \ + pdflatex complete -f -X '!*.+(mp3|MP3)' mpg123 -complete -f -X '!*.+(mpg|mpeg|avi|asf|vob|bin|vcd|ps|pes|fli|viv|rm|ram|yuv)' mplayer +complete -f -X '!*.+(mpg|mpeg|avi|asf|vob|bin|vcd|ps|pes|fli|viv|rm|ram|yuv)' \ + mplayer complete -f -X '!*.+(avi|asf)' aviplay complete -f -X '!*.+(rm|ram)' realplay complete -f -X '!*.+(mpg|mpeg|avi|mov)' xanim