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

Ville Skyttä ville.skytta at iki.fi
Tue Jul 27 20:40:50 UTC 2010


The following commit has been merged in the master branch:
commit bdf063edd132fc74a77d022e9bc2a8a2d446d396
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jul 27 23:40:19 2010 +0300

    Add *.awb to mplayer filename completions.

diff --git a/CHANGES b/CHANGES
index 1879c0c..81a9720 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,7 +6,7 @@ bash-completion (2.x)
   [ Ville Skyttä ]
   * Activate hping2 completion also for hping and hping3.
   * Add crontab and lrzip completions.
-  * Add gif to mplayer filename completions (Alioth: #312512).
+  * Add *.gif (Alioth: #312512) and *.awb to mplayer filename completions.
   * Add "short" tarball extensions to unxz, unlzma etc completions.
   * Improve /etc/init.d/* and sqlite3 completions.
   * Fix p4 completion (Alioth: #312625).
diff --git a/contrib/mplayer b/contrib/mplayer
index b4b1b3c..6d1e977 100644
--- a/contrib/mplayer
+++ b/contrib/mplayer
@@ -236,7 +236,7 @@ _mplayer()
                     -e "/^-\(Total\|.*\*\)\{0,1\}$/!p" )' -- "$cur" ) )
             ;;
         *)
-            _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fl[iv]|FL[IV]|fxm|FXM|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m4[av]|M4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m[24]v|M[24]V|dv|DV|rmvb|RMVB|mid|MID|t[ps]|T[PS]|3g[p2]|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2ts|M2TS|vdr|VDR|xvid|XVID|ape|APE|gif|GIF|nut|NUT|bik|BIK|webm|WEBM|amr|AMR)'
+            _filedir '@(mp?(e)g|MP?(E)G|wm[av]|WM[AV]|avi|AVI|asf|ASF|vob|VOB|bin|BIN|dat|DAT|vcd|VCD|ps|PS|pes|PES|fl[iv]|FL[IV]|fxm|FXM|viv|VIV|rm?(j)|RM?(J)|ra?(m)|RA?(M)|yuv|YUV|mov|MOV|qt|QT|mp[234]|MP[234]|m4[av]|M4[AV]|og[gmavx]|OG[GMAVX]|w?(a)v|W?(A)V|dump|DUMP|mk[av]|MK[AV]|m4a|M4A|aac|AAC|m[24]v|M[24]V|dv|DV|rmvb|RMVB|mid|MID|t[ps]|T[PS]|3g[p2]|mpc|MPC|flac|FLAC|vro|VRO|divx|DIVX|aif?(f)|AIF?(F)|m2ts|M2TS|vdr|VDR|xvid|XVID|ape|APE|gif|GIF|nut|NUT|bik|BIK|webm|WEBM|amr|AMR|awb|AWB)'
             ;;
     esac
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list