aboutsummaryrefslogtreecommitdiff
path: root/runit
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-12-12 13:27:20 +0000
committerRon Yorston <rmy@pobox.com>2023-12-12 13:27:20 +0000
commit8299b2403606e503012f2b6f3f41cbd500c631d4 (patch)
tree99d499dedf46a8eb29247510a0177c4242380083 /runit
parente4ab8fe064745abd57e3238f1ae29067e6ea8a22 (diff)
downloadbusybox-w32-8299b2403606e503012f2b6f3f41cbd500c631d4.tar.gz
busybox-w32-8299b2403606e503012f2b6f3f41cbd500c631d4.tar.bz2
busybox-w32-8299b2403606e503012f2b6f3f41cbd500c631d4.zip
lineedit: fix to tab completion of applet override
When the ability to override an applet if an external binary was present was added, the commit message for bd7018350 said: This doesn't affect tab completion in the shell: whether a completion is an applet or an external command is irrelevant. This isn't quite true. Suppose 'applet' has been overridden in such circumstances: $ export BB_OVERRIDE_APPLETS=";applet" $ applet If the user now enters tab twice the output would be: applet applet.exe The applet is still treated as a potential match. Recent changes to the applet override code result in a simple fix: the shell PATH can be passed to is_applet_preferred() in the line editing code. Now only 'applet.exe' is treated as a match. Adds 16-32 bytes.
Diffstat (limited to 'runit')
0 files changed, 0 insertions, 0 deletions