contrib/bash_completion
changeset 23762 0390cc327dd5
parent 21719 28ecdf3fa1db
child 26904 8aacac09e222
equal deleted inserted replaced
23761:19d6271a70db 23762:0390cc327dd5
   108     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$bookmarks' -- "$cur"))
   108     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$bookmarks' -- "$cur"))
   109 }
   109 }
   110 
   110 
   111 _hg_labels()
   111 _hg_labels()
   112 {
   112 {
   113     local labels="$(_hg_cmd debuglabelcomplete "$cur")"
   113     local labels="$(_hg_cmd debugnamecomplete "$cur")"
   114     local IFS=$'\n'
   114     local IFS=$'\n'
   115     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$labels' -- "$cur"))
   115     COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W '$labels' -- "$cur"))
   116 }
   116 }
   117 
   117 
   118 # this is "kind of" ugly...
   118 # this is "kind of" ugly...