contrib/bash_completion
changeset 11768 dc5ce9c95d00
parent 11646 91af149b5cd7
child 11968 66521d25c2a6
--- a/contrib/bash_completion	Sun Aug 08 22:49:01 2010 +0200
+++ b/contrib/bash_completion	Sun Aug 08 23:10:08 2010 +0200
@@ -462,6 +462,17 @@
     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
 _hg_cmd_bisect()