bash expand

Updated: 01 January 2023

shell-expand-line

Check if shell-expand-line is bound to any keys

$ bind -P | grep shell-expand-line

If not add this to .inputrc

"\e\C-e": shell-expand-line

Test it

$ $HOME # Ctr+Alt+e, should print full path.

Leave a comment