Enable abort and continue use cases in zsh hg histedit autocompletion

Summary: Enable the most common autocomplete use cases in zsh hg histedit autocomplete

Reviewed By: fanzeyi

Differential Revision: D22032612

fbshipit-source-id: 1fd47d30564c51a010785d7d0553e3a5d16f163a
This commit is contained in:
Paul Davis 2020-06-15 12:15:39 -07:00 committed by Facebook GitHub Bot
parent 41df657be1
commit e462d84681

View File

@ -1220,4 +1220,11 @@ _hg_cmd_purge() {
'(--print0 -0)'{-0,--print0}'[end filenames with NUL, for use with xargs (implies -p/--print)]'
}
# Histedit
_hg_cmd_histedit() {
_arguments -s -w : $_hg_global_opts \
'(--continue -c)'{-c,--continue}'[continue an interrupted histedit]' \
'(--abort -a)'{-a,--abort}'[abort an interrupted histedit]' \
}
_hg "$@"