Skip to content
Snippets Groups Projects
Commit dc5ce9c95d00 authored by Yann E. MORIN's avatar Yann E. MORIN
Browse files

mq/qqueue: enable bash completion

Return the list of available queues when completion is attempted on qqueue.
parent 9b771b4ce2f3
No related branches found
No related tags found
No related merge requests found
...@@ -462,6 +462,17 @@ ...@@ -462,6 +462,17 @@
return 1 return 1
} }
_hg_cmd_qqueue()
{
local q
local queues
local opts="--list --create --delete"
queues=$( _hg_cmd qqueue --quiet )
COMPREPLY=( $( compgen -W "${opts} ${queues}" "${cur}" ) )
}
# hbisect # hbisect
_hg_cmd_bisect() _hg_cmd_bisect()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment