ash,hush: allow builtins to be tab-completed, closes 7532
authorRon Yorston <rmy@pobox.com>
Tue, 21 Jan 2020 16:01:58 +0000 (16:01 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 29 Jan 2020 14:23:17 +0000 (15:23 +0100)
commit9e2a5668fd38db169d9d91b13089a99df4c9bd37
tree3d823cd22bf7627fbb5ef90fdcfae794c1f94ab2
parent1ff7002b1d229c678fdffebec602fb4c54439a31
ash,hush: allow builtins to be tab-completed, closes 7532

function                                             old     new   delta
complete_cmd_dir_file                                678     830    +152
get_builtin_name                                       -      35     +35
optschanged                                          125     132      +7
hush_main                                           1069    1076      +7
save_command_ps_at_cur_history                        76      78      +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 4/0 up/down: 203/0)             Total: 203 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/lineedit.c
shell/ash.c
shell/hush.c