diff contrib/bash_completion @ 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 51f444e85734
children e49771e2d071
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"))
 }