On 2/3/24 6:23 PM, Mike Jonkmans wrote:
esc * is bound to insert-completionsIt's bound to vi-complete, which bash replaces with something that does the pathname expansion that POSIX requires.How can I find this out?
You can assume that the bash vi mode behaves as POSIX specifies: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html#tag_20_117_13_03 which has features that are more shell-specific than basic readline editing (e.g., the pathname expansion that `*' performs in vi command mode).
INPUTRC=/dev/null bash --norc --noprofile set -o vi bind -m vi-insert -p bind -m vi-command -p Both show no bindings for "*". (`man 3 readline' mentions "*" on vi-complete in command mode)
Good point. I added a bindable name for bash's replacement. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature