Bash expansions

I recently read an article by Phil Sung with some good tips about the keyboard shortcuts available in bash/readline. Trying to get these to work inspired me to investigate various dotfile configurations that weren’t quite working right.

Phil links to a presentation by Simon Meyers which has even more good bash tips.

Since I use an xterm via cygwin most of the time, I needed to make sure the metaSendsEscape resource was set to true.

Also, the Meta syntax in Simon’s presentation didn’t work for me.

bind -p showed that bash wanted to see \e instead of \M

And now I have new, nifty shortcuts defined. The hard part now is training myself to remember and use them.

This entry was posted in Software. Bookmark the permalink.