Use 'interactive alias expansion' rather than 'abbreviation'
This commit is contained in:
parent
f6c4e87af2
commit
9f4875ebcc
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ declare -gr is_first_word_prefix="($_control_op)[[:blank:]]*((($_redir_or_assign
|
||||||
unset -v _control_op _redir_or_assign_word
|
unset -v _control_op _redir_or_assign_word
|
||||||
|
|
||||||
_try_abbrev_internal () {
|
_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).
|
# 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.
|
# $7 is the character/string to self-insert.
|
||||||
declare -r line=$1 mark=$3 new_line=$4 new_point=$5 new_mark=$6 \
|
declare -r line=$1 mark=$3 new_line=$4 new_point=$5 new_mark=$6 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue