##// END OF EJS Templates
bash_completion: added -o filename option to _hg_status (issue3101)
Jesus Espino Garcia -
r15969:80f3ae36 stable
parent child Browse files
Show More
@@ -84,6 +84,7 b' shopt -s extglob'
84 {
84 {
85 local files="$(_hg_cmd status -n$1 .)"
85 local files="$(_hg_cmd status -n$1 .)"
86 local IFS=$'\n'
86 local IFS=$'\n'
87 compopt -o filenames 2>/dev/null
87 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
88 COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$files' -- "$cur"))
88 }
89 }
89
90
General Comments 0
You need to be logged in to leave comments. Login now