#1: Allow expansion on \C-j

This commit is contained in:
tsi 2025-10-23 01:07:13 +02:00
parent 19d7d0fa60
commit 8508aa15fb
No known key found for this signature in database

View file

@ -182,7 +182,9 @@ bash_abbr () {
done done
bind -x '"\e\C-an": _try_abbrev ""' bind -x '"\e\C-an": _try_abbrev ""'
bind '"\C-m": "\e\C-an\e^\C-j"' bind '"\e\C-j": accept-line'
bind '"\C-m": "\e\C-an\e^\e\C-j"'
bind '"\C-j": "\C-m"'
} }
# Disable plugin by commenting this line and uncommenting the line below that # Disable plugin by commenting this line and uncommenting the line below that