diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-18 09:50:29 +0000 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-02-23 12:20:51 +0100 |
commit | 760b627e2ac6aedbf604040951280eaaf75939a8 (patch) | |
tree | adf5545c8087221257e9add200f3144a27e01f90 /shell/ash_test/ash-misc/empty_for.right | |
parent | 858f8aafacf93ff4642a2f62dc0d7f0f31f95cce (diff) | |
download | busybox-760b627e2ac6aedbf604040951280eaaf75939a8.tar.gz |
lineedit: support empty PATH entries in tab completion
Zero-length path prefixes can be specified in PATH as a leading or
trailing colon or two adjacent colons. POSIX says that the use of
zero-length prefixes to refer to the current directory is a legacy
feature. Nonetheless the shells in BusyBox respect this feature,
as does 'which'.
Tab-completion of executables using PATH should support this too.
function old new delta
complete_cmd_dir_file 934 931 -3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-3) Total: -3 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-misc/empty_for.right')
0 files changed, 0 insertions, 0 deletions