HomeFreeBSD

sh(1): autocomplete commands

Description

sh(1): autocomplete commands

Without this patch, sh can autocomplete file names but not commands from
$PATH. Use libedit's facility to execute custom function for autocomplete,
but yield to the library's standard autocomplete function when cursor is
not at position 0.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D29361

Details

Provenance
pstefAuthored on Mar 28 2021, 9:58 AM
Reviewer
bapt
Differential Revision
D29361: sh(1): autocomplete commands
Parents
rG177772088060: Reduce chance of RCU deadlock in the LinuxKPI by implementing the section
Branches
Unknown
Tags
Unknown