#1: Add TODO comment about approaching a perfect implementation
This commit is contained in:
parent
8508aa15fb
commit
03302fd770
1 changed files with 4 additions and 0 deletions
|
|
@ -181,6 +181,10 @@ bash_abbr () {
|
|||
# bind '"'"$ch"'": "\e\C-a'"$ch"'\e^"' # Moves point weirdly
|
||||
done
|
||||
|
||||
# TODO To get it fully working in all edge cases (as far as we can parse),
|
||||
# we need to implement recursive alias expansion on the entire line
|
||||
# like bash does. Basically something like alias-expand-line but
|
||||
# called as many times as possible before recursion would happen.
|
||||
bind -x '"\e\C-an": _try_abbrev ""'
|
||||
bind '"\e\C-j": accept-line'
|
||||
bind '"\C-m": "\e\C-an\e^\e\C-j"'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue