##// END OF EJS Templates
bash_completion: match more narrowly...
Bryan O'Sullivan -
r18767:69e4787b default
parent child Browse files
Show More
@@ -82,7 +82,7 b' shopt -s extglob'
82
82
83 _hg_status()
83 _hg_status()
84 {
84 {
85 local files="$(_hg_cmd status -n$1 .)"
85 local files="$(_hg_cmd status -n$1 "glob:$cur**")"
86 local IFS=$'\n'
86 local IFS=$'\n'
87 compopt -o filenames 2>/dev/null
87 compopt -o filenames 2>/dev/null
88 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
88 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
General Comments 0
You need to be logged in to leave comments. Login now