completion: allow to customize the completable command list
By default we show porcelain, external commands and a couple others that are also popular. If you are not happy with this list, you can now customize it a new config variable. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3301d36b29
commit
6532f3740b
1
help.h
1
help.h
@ -26,6 +26,7 @@ extern void list_all_main_cmds(struct string_list *list);
|
||||
extern void list_all_other_cmds(struct string_list *list);
|
||||
extern void list_cmds_by_category(struct string_list *list,
|
||||
const char *category);
|
||||
extern void list_cmds_by_config(struct string_list *list);
|
||||
extern const char *help_unknown_cmd(const char *cmd);
|
||||
extern void load_command_list(const char *prefix,
|
||||
struct cmdnames *main_cmds,
|
||||
|
||||
Reference in New Issue
Block a user