Bug 7532 - ash does not tab-complete built-in commands
Summary: ash does not tab-complete built-in commands
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.22.x
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 21:16 UTC by Luiz Angelo Daros de Luca
Modified: 2020-01-29 14:27 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luiz Angelo Daros de Luca 2014-10-14 21:16:16 UTC
Hello,

ash cannot tab-complete built-in commands as it does with commands in $PATH.

For example:

$ bre<tab>

does not show break. The same happens for all built-in commands that does not have a stand-alone binary (like echo) in $PATH (even if busybox).

bash, ksh and csh all tab-complete built-ins.
Comment 1 Denys Vlasenko 2020-01-29 14:27:20 UTC
Fixed in git:

commit 9e2a5668fd38db169d9d91b13089a99df4c9bd37
Author: Ron Yorston <rmy@pobox.com>
Date:   Tue Jan 21 16:01:58 2020 +0000

    ash,hush: allow builtins to be tab-completed