# HG changeset patch # User Alexis S. L. Carvalho # Date 1125340627 -7200 # Node ID fa9ae7df88a94498ed1dfdaf90c5444176b944e4 # Parent ff560ce0c635429cf395d46c5c2150889385ec8d bash_completion: try to use bash3 features if they're available This does NOT break completion for bash 2.05b (I haven't tested earlier versions) diff -r ff560ce0c635 -r fa9ae7df88a9 contrib/bash_completion --- a/contrib/bash_completion Mon Aug 29 20:37:07 2005 +0200 +++ b/contrib/bash_completion Mon Aug 29 20:37:07 2005 +0200 @@ -166,4 +166,5 @@ } -complete -o default -F _hg hg +complete -o bashdefault -o default -F _hg hg 2> /dev/null \ + || complete -o default -F _hg hg