# HG changeset patch # User Sean Farley # Date 2013-11-21 00:13:24 # Node ID 6b771bcd1a6203710fb832b99f1257f11f93de80 # Parent 25cb1d96c3078d4d15a4df17bdc9a28baf3edaf4 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. diff --git a/contrib/bash_completion b/contrib/bash_completion --- a/contrib/bash_completion +++ b/contrib/bash_completion @@ -318,10 +318,8 @@ complete -o bashdefault -o default -o no # bookmarks _hg_cmd_bookmarks() { - if [[ "$prev" = @(-d|--delete|-m|--rename) ]]; then - _hg_bookmarks - return - fi + _hg_bookmarks + return } # mq