diff options
author | Ron Yorston <rmy@pobox.com> | 2020-12-11 12:34:21 +0000 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-16 09:38:25 +0100 |
commit | 8baa643a3445882ec9c39dfcabb7374081c13aee (patch) | |
tree | d0542acb9a36d2bcabe82e362f34b8d10fa8dee2 /shell/hush_test/hush-misc/exitcode_trap6.tests | |
parent | 8506dd673030539b2890dd617f885ec20f1e8a7d (diff) | |
download | busybox-8baa643a3445882ec9c39dfcabb7374081c13aee.tar.gz |
lineedit: match local directories when searching PATH
When tab-completing a command we search PATH if the partial text
doesn't include a slash. Also match subdirectories of the current
directory, in case the user intends to run a binary from one of
them.
function old new delta
complete_cmd_dir_file 894 917 +23
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 23/0) Total: 23 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-misc/exitcode_trap6.tests')
0 files changed, 0 insertions, 0 deletions