bash_completion: extended patterns require extglob option
authorTK Soh <teekaysoh@yahoo.com>
Wed, 21 Sep 2005 09:02:41 +0200
changeset 1311 db8bebb08f8f
parent 1310 7e8a55c9ee5c
child 1312 c9cf171f30dd
bash_completion: extended patterns require extglob option
contrib/bash_completion
--- a/contrib/bash_completion
+++ b/contrib/bash_completion
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+shopt -s extglob
+
 _hg_commands()
 {
     local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \