diff options
author | Christoph Mathys <eraserix@gmail.com> | 2015-09-25 23:19:44 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2015-09-25 23:20:09 +0000 |
commit | 61fa5f66f05c85e290d50df860708e80221011c9 (patch) | |
tree | 21215dd02dfdec6ca26deeba7c1677022f7f6190 /Completion/Unix/Command/_hg | |
parent | 649d06a8cdd9948e3d49fa717f9088d8a87a6262 (diff) | |
download | zsh-61fa5f66f05c85e290d50df860708e80221011c9.tar.gz zsh-61fa5f66f05c85e290d50df860708e80221011c9.tar.xz zsh-61fa5f66f05c85e290d50df860708e80221011c9.zip |
36626: _hg: completion for 'hg bookmarks'
Diffstat (limited to 'Completion/Unix/Command/_hg')
-rw-r--r-- | Completion/Unix/Command/_hg | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_hg b/Completion/Unix/Command/_hg index 9dd023653..5d4c9852b 100644 --- a/Completion/Unix/Command/_hg +++ b/Completion/Unix/Command/_hg @@ -460,6 +460,16 @@ _hg_cmd_bisect() { '(--command -c --noupdate -U)'{-U,--noupdate}'[do not update to target]' } +_hg_cmd_bookmarks() { + _arguments -s : $_hg_global_opts \ + '(--force -f)'{-f,--force}'[force]' \ + '(--rev -r)'{-r+,--rev=}'[set bookmark at revision]:revision:_hg_tags' \ + '(--delete -d)'{-d,--delete}'[delete a given bookmark]' \ + '(--rename -m)'{-m+,--rename}'[rename given bookmark]:bookmark:_hg_bookmarks_internal' \ + '(--inactive -i)'{-i,--inactive}'[mark a bookmark inactive]' \ + ':bookmark:_hg_bookmarks_internal' +} + _hg_cmd_branch() { _arguments -s -w : $_hg_global_opts \ '(--force -f)'{-f,--force}'[set branch name even if it shadows an existing branch]' \ |