diff contrib/bash_completion @ 1311:db8bebb08f8f

bash_completion: extended patterns require extglob option
author TK Soh <teekaysoh@yahoo.com>
date Wed, 21 Sep 2005 09:02:41 +0200
parents 2073e5a71008
children f351d1a07d75
line wrap: on
line diff
--- a/contrib/bash_completion	Wed Sep 21 08:25:46 2005 +0200
+++ b/contrib/bash_completion	Wed Sep 21 09:02:41 2005 +0200
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+shopt -s extglob
+
 _hg_commands()
 {
     local commands="$(hg -v help | sed -e '1,/^list of commands:/d' \