mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 22:47:26 +03:00
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:
parent
41df657be1
commit
e462d84681
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user