changeset 15969:80f3ae36f908 stable

bash_completion: added -o filename option to _hg_status (issue3101)
author Jesus Espino Garcia <jesus.espino@kaleidos.net>
date Sat, 21 Jan 2012 00:40:18 +0100
parents bf87b6b95ce5
children 9f2ed48f8cda
files contrib/bash_completion
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"))
 }