From 6833d7c6a611c1e1cbd9cf0200bae15e80bdc38f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 16 Jan 2011 00:30:14 +0200 Subject: [PATCH] Add filename completion for portecle. --- CHANGES | 5 +++-- bash_completion | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 0c590139..c1180d71 100644 --- a/CHANGES +++ b/CHANGES @@ -12,8 +12,9 @@ bash-completion (2.x) [ Ville Skyttä ] * Activate hping2 completion also for hping and hping3. * Add badblocks, compgen, crontab, dumpe2fs, e2freefrag, e2label, ether-wake, - filefrag, growisofs, iftop, ip (Debian: #600617), lrzip, lsof, POSIX sh, - sha{,224,256,384,512}sum, sysbench, tune2fs, xmodmap, and xrdb completions. + filefrag, growisofs, iftop, ip (Debian: #600617), lrzip, lsof, portecle, + POSIX sh, sha{,224,256,384,512}sum, sysbench, tune2fs, xmodmap, and xrdb + completions. * Add *.gif (Alioth: #312512), *.m2t (Alioth: #312770), *.3gpp, *.3gpp2, *.awb, and *.iso (Alioth: #311420) to mplayer filename completions. * Add "short" tarball extensions to unxz, unlzma etc completions. diff --git a/bash_completion b/bash_completion index b3ac57e4..4c0b02b9 100644 --- a/bash_completion +++ b/bash_completion @@ -122,6 +122,7 @@ complete -f -X '!*.[Hh][Rr][Bb]' hbrun complete -f -X '!*.ly' lilypond ly2dvi complete -f -X '!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))' cdiff complete -f -X '!*.lyx' lyx +complete -f -X '!@(*.@(ks|jks|jceks|p12|pfx|bks|ubr|gkr|cer|crt|cert|p7b|pkipath|pem|p10|csr|crl)|cacerts)' portecle # FINISH exclude -- do not remove this line # start of section containing compspecs that can be handled within bash