diff --git a/bash-abbr b/bash-abbr index 7e4ccdf..183ca7b 100644 --- a/bash-abbr +++ b/bash-abbr @@ -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"'