Readline has the powerful concept of a macro which maps a key combo to anything you can type. We’ll look at using a readline macro to trigger ruby code in a ruby shell. Since ruby has the gem bond to easily define readline completions, we’ll change completion behavior with the flick of a key combo.
Intro
First off, you should be aware that what follows can be done with any readline, non-ruby completion setup that allows painless redefinition of a completion.
Recent comments
1 year 23 weeks ago
1 year 23 weeks ago
1 year 25 weeks ago
1 year 27 weeks ago
1 year 42 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 45 weeks ago
1 year 46 weeks ago
1 year 48 weeks ago