contrib/bash_completion
changeset 18767 69e4787b6867
parent 17463 e49771e2d071
child 18768 e3e601969ba1
--- a/contrib/bash_completion	Wed Mar 13 10:43:51 2013 -0700
+++ b/contrib/bash_completion	Thu Mar 14 16:49:02 2013 -0700
@@ -82,7 +82,7 @@
 
 _hg_status()
 {
-    local files="$(_hg_cmd status -n$1 .)"
+    local files="$(_hg_cmd status -n$1 "glob:$cur**")"
     local IFS=$'\n'
     compopt -o filenames 2>/dev/null
     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))