bash_completion: added -o filename option to _hg_status (issue3101) stable
authorJesus Espino Garcia <jesus.espino@kaleidos.net>
Sat, 21 Jan 2012 00:40:18 +0100
branchstable
changeset 15969 80f3ae36f908
parent 15968 bf87b6b95ce5
child 15970 9f2ed48f8cda
bash_completion: added -o filename option to _hg_status (issue3101)
contrib/bash_completion
--- a/contrib/bash_completion	Sun Jan 22 21:30:09 2012 +0100
+++ b/contrib/bash_completion	Sat Jan 21 00:40:18 2012 +0100
@@ -84,6 +84,7 @@
 {
     local files="$(_hg_cmd status -n$1 .)"
     local IFS=$'\n'
+    compopt -o filenames 2>/dev/null
     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
 }