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

Ville Skyttä ville.skytta at iki.fi
Sun Jan 3 12:22:25 UTC 2010


The following commit has been merged in the master branch:
commit aae256d7e05d1dc4847eff0eb8230edf7655f3d6
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Jan 3 14:21:08 2010 +0200

    Do basic HTML file completion with Firefox and Chrome and friends, and Epiphany.

diff --git a/CHANGES b/CHANGES
index 33a78b4..d739038 100644
--- a/CHANGES
+++ b/CHANGES
@@ -52,6 +52,8 @@ bash-completion (2.x)
   * Protect grep invocations from user aliases (Alioth: 312143).
   * Split sshfs completion from contrib/ssh into contrib/sshfs.
   * Split mount and umount completion into contrib/mount.
+  * Do basic HTML file completion with Firefox and Chrome and friends,
+    and Epiphany.
 
   [ Freddy Vulto ]
   * Added _get_pword() helper function, thanks to Sung Pae (Alioth: #312030)
diff --git a/bash_completion b/bash_completion
index 48982bc..b2ad64a 100644
--- a/bash_completion
+++ b/bash_completion
@@ -106,7 +106,8 @@ complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)
 complete -f -X '*.@(o|so|so.!(conf)|a|rpm|gif|GIF|jp?(e)g|JP?(E)G|mp3|MP3|mp?(e)g|MPG|avi|AVI|asf|ASF|ogg|OGG|class|CLASS)' emacs
 complete -f -X '!*.@(exe|EXE|com|COM|scr|SCR|exe.so)' wine
 complete -f -X '!*.@(zip|ZIP|z|Z|gz|GZ|tgz|TGZ)' bzme
-complete -f -X '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx opera galeon curl dillo elinks amaya
+# konqueror not here on purpose, it's more than a web/html browser
+complete -f -X '!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))' netscape mozilla lynx opera galeon curl dillo elinks amaya firefox mozilla-firefox iceweasel google-chrome chromium-browser epiphany
 complete -f -X '!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|odt|ott|odm)' oowriter
 complete -f -X '!*.@(sxi|sti|pps?(x)|ppt?([mx])|pot?([mx])|odp|otp)' ooimpress
 complete -f -X '!*.@(sxc|stc|xls?([bmx])|xlw|xlt?([mx])|[ct]sv|ods|ots)' oocalc

-- 
bash-completion



More information about the Bash-completion-commits mailing list