Use 'interactive alias expansion' rather than 'abbreviation'

This commit is contained in:
tsi 2026-01-03 01:26:20 +01:00
parent f6c4e87af2
commit 9f4875ebcc
No known key found for this signature in database

View file

@ -187,7 +187,7 @@ declare -gr is_first_word_prefix="($_control_op)[[:blank:]]*((($_redir_or_assign
unset -v _control_op _redir_or_assign_word
_try_abbrev_internal () {
# Recursively perform abbrevation on the line defined by $1, taking $2 as the point and $3 as the mark.
# Recursively perform interactive alias expansion on the line defined by $1, taking $2 as the point and $3 as the mark.
# Set the vars defined by $4, $5 and $6 to the updated values (line, point and mark).
# $7 is the character/string to self-insert.
declare -r line=$1 mark=$3 new_line=$4 new_point=$5 new_mark=$6 \