On 30/01/2024 02:51, David Wright wrote:
. Press HOME, . Type any letter that makes a "wrong" command name (eg aokular), . Press END,
The escape "Esc /" workaround has been posted in this thread already. It uses built-in readline path completion instead of BASH programmable completion. It may be available as [Alt+/] (in xterm it requires xterm*vt100.metaSendsEscape: true)
[Ctrl+A] and [Ctrl+E] are alternatives for [Home] and [End]. For details see the BASH manual info '(bash) Commands For Completion'"complete-filename" function and other sections related to readline and completion.
https://www.gnu.org/software/bash/manual/html_node/Commands-For-Completion.html#index-complete_002dfilename-_0028M_002d_002f_0029