Skip to content

Commit

Permalink
Updated completion examples for new -x function
Browse files Browse the repository at this point in the history
  • Loading branch information
warpspin committed Apr 13, 2000
1 parent bacd03f commit 7eac149
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions examples/complete-examples
Original file line number Diff line number Diff line change
Expand Up @@ -218,21 +218,21 @@ complete -f chown ln more cat
complete -d mkdir rmdir
complete -f strip

complete -f -X '*.gz' gzip
complete -f -X '*.Z' compress
complete -f -X '!*.+(gz|tgz|Gz)' gunzip gzcat zcat zmore
complete -f -X '!*.Z' uncompress zmore zcat
complete -f -x '*.gz' gzip
complete -f -x '*.Z' compress
complete -f -x '!*.+(gz|tgz|Gz)' gunzip gzcat zcat zmore
complete -f -x '!*.Z' uncompress zmore zcat

complete -f -X '!*.+(gif|jpg|jpeg|GIF|JPG|bmp)' xv
complete -f -x '!*.+(gif|jpg|jpeg|GIF|JPG|bmp)' xv

#complete -f -X '!*.pl' perl perl5
#complete -f -x '!*.pl' perl perl5

complete -A hostname rxterm rxterm3 rxvt2

complete -u su

complete -f -X '!*.+(ps|PS)' gs gv ghostview psselect pswrap
complete -f -X '!*.+(dvi|DVI)' dvips xdvi dviselect dvitype
complete -f -X '!*.+(pdf|PDF)' acroread
complete -f -X '!*.texi*' makeinfo texi2dvi texi2html
complete -f -X '!*.+(tex|TEX)' tex latex slitex
complete -f -x '!*.+(ps|PS)' gs gv ghostview psselect pswrap
complete -f -x '!*.+(dvi|DVI)' dvips xdvi dviselect dvitype
complete -f -x '!*.+(pdf|PDF)' acroread
complete -f -x '!*.texi*' makeinfo texi2dvi texi2html
complete -f -x '!*.+(tex|TEX)' tex latex slitex

0 comments on commit 7eac149

Please sign in to comment.