bash_completion: remove restriction on bookmark completion
authorSean Farley <sean.michael.farley@gmail.com>
Wed, 20 Nov 2013 19:13:24 -0500
changeset 20127 6b771bcd1a62
parent 20126 25cb1d96c307
child 20128 56108ee1edb6
bash_completion: remove restriction on bookmark completion Previously, we only completed a bookmark when deleting or renaming a bookmark. Since we can now move a bookmark forward, we drop this restriction.
contrib/bash_completion
--- a/contrib/bash_completion	Wed Nov 20 14:45:18 2013 -0500
+++ b/contrib/bash_completion	Wed Nov 20 19:13:24 2013 -0500
@@ -318,10 +318,8 @@
 # bookmarks
 _hg_cmd_bookmarks()
 {
-    if [[ "$prev" = @(-d|--delete|-m|--rename) ]]; then
-        _hg_bookmarks
-        return
-    fi
+    _hg_bookmarks
+    return
 }
 
 # mq